FindSameFilename, fsfname.jar
- find same filenames
in different paths
find . ! -type d -print | java -jar fsfname.jar
Prints the same filenames but in different directories. An assumed target application is back up or clean up directories.
Ex. Assume next files.
./foo/bar/baz/archive.tar.gz ./foo/bar/baz/archive2.tar.gz ./foo/some/other/baz/archive.tar.gzApplying these paths to fsfname.jar, you can get the next results:
% find . ! -type d -print | java -jar fsfname.jar # found 2 [archive.tar.gz] ./foo/bar/baz/archive.tar.gz ./foo/some/other/baz/archive.tar.gz
Written by Yamauchi Hitoshi.
Report bugs to hitoshi"at"mpi-sb.mpg.de.kein.spam.please.delete.after.1st.de (also please replace "at" with @.)
Copyright (C) 2003 Yamauchi, Hitoshi.
This is free software. This software can be redistributed only under the GNU copyleft. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.