Nov 30
Some useful linux find-commands:
Find files with file size between 10 and 20 MB
Find files not belonging to user root
Find files greater than 10 MB and list them with ls-lh.
1 | find -size +10M -exec ls -lh {} \; |
Find files with .jpg ending not case sensitive and create a tar-ball.
1 | find -iname '*.jpg' -exec tar -rf bilder.tar {} \; |
Find files with .mp3 ending not case sensitive and create a playlist.m3u file
1 | find -iname '*.mp3' -fprint playlist.m3u |
Find files with SUID bit set.
1 | find / -type f -perm +6000 -exec ls -l {} \; > suid.list |
