Pario TechnoBlob
About
Posts
Tag: find
Shell scripts for archiving digital photos in directories by date
The fact that most digital cameras store the shooting dates inside JPEG files in the EXIF format makes it possible to automatically archive the photos by date right after they...
Shell script for removing duplicate files
The following shell script finds duplicate (2 or more identical) files and outputs a new shell script containing commented-out rm statements for deleting them. You then have...
Find all web pages that reference to www.example.com
find / -name '*html' -print \ | xargs grep -l 'www.example.com' \ | less -Opages
Cronjobb som sletter gamle filer
find /data/folder -type f -uid 400 -atime +2 -exec /bin/rm {} ; find /data/folder -type d -uid 400 -atime +2 | sort -r | /usr/bin/perl -e 'foreach (<>) {chop; rmdir;
««
«
1
2
3
»
»»