Initial commit

This commit is contained in:
Nico Schottelius 2006-07-20 09:54:37 +02:00
commit d3c6e29902
202 changed files with 3909 additions and 0 deletions

17
backup-smaller-dirs Executable file
View file

@ -0,0 +1,17 @@
i=0
dir=0
max_files_per_dir=100
mkdir -p $dir
for a in $@; do
if [ $i = $max_files_per_dir ]; then
((dir+=1))
mkdir -p $dir
i=0
fi
mv -i "$a" $dir
((i+=1))
done