one.sh 1.3

one.sh script searches all folders of an given path an deletes (if you wish) all duplicates and resulting empty folders.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
deft
HOMEPAGE:
w3.deft.de
CATEGORY:
ROOT \ Utilities
3 one.sh Screenshots:
one.shone.shone.sh
Placed in a application-Path an executed by a Link-to-Programm-Icon the script searches for duplicates of files. This check depends on MD5, not on file-name.

one.sh script searches all folders of an given path an deletes (if you wish) all duplicates and resulting empty folders. You can define a file-extension or search for *.* and so on in KDE-Dialog.

Everthing happens due to using this script is not under my responsibility.

Don't forget to chmod +x

Its useful to test it in a dir with copies of your files.

Example: You have a folder-tree with many, many songs. The song lalala.mp3 is found in the folder of an album, and in a folder of an artist. The same song, maybe called singer-lalala.mp3 is found in a folder of a compilation too.

Your - hm... Amarok - shows it three times - it the song needs his space 3 time. Also it is stored 3 time's in Amaroks Database. If you search and add "all of that singer" to a playlist, it is added 3 times - right!?

If you start keepjustone.sh in your music-folder it searchs for duplicate files (even with other names) by using md5 and delete the copies by keeping the first "original" file.

How it works:

1. The script asks for an extension and a path.
2. It builds a file with the path-information of matching files.
3. It generates a list with path and name of all multiple files.
4. It generates a 2nd list with the duplicates only.
5. It deletes all files of the 2nd list.

The listings:

When you start this script, it builds multiple text-files in its working-Direktory. When you exit the script, this files will be deleted. Just this Helpfile stays.

It is possible to edit the listings with any editor during runtime of this script - just to check - or to change the deleting procedure.

What's New in This Release:

· Reduced Dialog-Windows and add a readme.

Last updated on March 4th, 2007

#search files #duplicate files #compare MD5 #one.sh #search #duplicate #files

Add your review!

SUBMIT