preload
Nov 30
Some useful linux find-commands:
Find files with file size between 10 and 20 MB
1
find -size +10M -size -20M
Find files not belonging to user root
1
find ! -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

Nov 30

This is an example from http://www.linux-user.de/ausgabe/2001/07/030-split/split.html:

1
tar cz /home/user  | split -b95m - archiv.tgz.split.

Put together files with:

1
cat  [dateiname].split.* | tar x
Tagged with: