[Home][Linux Kernel][Emacs][Projects][Hacks]
| Script | Description |
| dupmerge | A script for merging partial duplicate files |
| catalog | A script for sorting through media files |
| rpmclean | A script for cleaning up .rpmnew files |
| naut-jpeg | A Nautilus helper script for rotating JPEG's |
Which will result in all partials of the same file (whatever the name) having the most complete version of the file copied over them. Please note these are not symlinks so you better have spare disk space if your downloading big files.
Once I've had a succesful download I can clean out all the old partials using the recursive feature (as my completed downloads live in ~/Downloads/gtk-gnutella/downloaded) by doing:
dupmerge.pl -r --action=delete ~/Downloads/gtk-gnutella/
By default if no action is specified dupmerge will just list potential duplicates. Calling with --help will list the current options. This was the first perl script I wrote so forgive any cruft but patches and/or suggestions welcome.
The script has a few built in targets If your sorting mp3's or ogg's or you can specify your viewer using the "--cmd=
If like me you store all your files on a separate server or mounted
drive you can specify a target top level directory to move stuff to,
e.g.
catalog.pl --dst=/mnt/media --cmd=ogg123 ~/Downloads/