FindRepe version 0.3.0 adds two new options: verbose (for future use) and symlinks to follow symlinks.
Some kind of cyclic links detection are implemented, "if the link points to one of the parents it's ignored", some more should be implemented in later versions.
Not readable directorys are ignored, because they can't be followed.
Not readable files are ignored because they can't be readed to compare.
-Download findrepe-0.3.0.zip
-Decompress it using the command
-Install the launcher with one of the following commands
-Play and enjoy it with
Windows users:
GNU/Linux, OpenSolaris and any other unix flavor users:
-v, --verbose increase verbosity
-s --symlinks follow symlinks
Some kind of cyclic links detection are implemented, "if the link points to one of the parents it's ignored", some more should be implemented in later versions.
Not readable directorys are ignored, because they can't be followed.
Not readable files are ignored because they can't be readed to compare.
-Download findrepe-0.3.0.zip
-Decompress it using the command
unzip findrepe-0.3.0.zip
-Install the launcher with one of the following commands
java -jar findrepe-0.3.0/FindRepe.jar --install
java -jar findrepe-0.3.0/FindRepe.jar --install-home
sudo java -jar findrepe-0.3.0/FindRepe.jar --install-home=/opt/jdk1.6
-Play and enjoy it with
Windows users:
findrepe c:\ e:\
GNU/Linux, OpenSolaris and any other unix flavor users:
findrepe /backup/mp3 /backup/src
2 comentarios:
I've used a similar Perl script for years to reduce congestion on my hard drive. There is one difference, however; my program hand-links duplicate files together instead of must removing one. This lets me use directories as tags, with files kept in multiple places so I can find them easily later. For example, all photos that show Jack are in one folder, all that show Jill are in another, those that show both are in each.
Anyway, a --hardlink option to duplicate this could be useful.
Hi samwyse,
Nice feedback. I've been thinking about hardlinks, but I have to find the better workaround because java can't handle hardlinks. Symlinks can be identified by comparing getCanonicalFile and getAbsoluteFile.
What's the better posix compatible option to identify a hardlink? Without using C api :-)
I think the best option to create hardlinks will be "ln" command.
I've been thinking too in a CopyWrite filesystem capability, linux and solaris have lots of repeated files, It would be nice to mark them as a hardlink with "copy on write".
again, nice feedback, I have written it down here and hope hear from you again soon.
Publicar un comentario