-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

one.sh search & delete duplicate files

   1.3  

KDE System Tool

Score 78%
one.sh search & delete duplicate files
zoom


Link:  http://wiki.eye-t.de
Minimum required   KDE 3.x
Downloads:  1309
Submitted:  Jan 21 2007
Updated:  Nov 27 2008

Description:

A GUI/Dialog to search for duplicates of files. This check depends on MD5, not on file-name. It searchs 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.

Its useful to test it in a dir with copies of your files. Don't use it in program-folders - it's useful just for your Musik-, Picture-, Movie- or Documents-Folders.




Changelog:

1.3.1-beta-testing NOT for USE!!!
1.3 Reduced Dialog-Windows and add a readme.
1.2 1st version
1.1 buggy ...

ToDo's:
- Cancel-Buttons in Progress.
- Copy or Symlink as option.
- Edit Del-List in Script. Edit during runtime with an editor is possible.
- Progress-Bar while counting - any idears?
- Rename/Move instead of delete.




LicenseGPL
(KDE-Dialog in Shell Script to find duplicates)
(V. 1.3.1-beta-preview (for testing - not for use!))
Send to a friend
Subscribe
Other  Apps  from deft
Report inappropriate content



-
.

 dude

 
 by bsander on: Jan 22 2007
 
Score 50%

if you need three screenshots to display the process, you really need to cut down on the dialogs..


Reply to this

-
.

 Re: dude

 
 by deft on: Jan 22 2007
 
Score 50%

hmm, it seem's that i'am infected with some kind of M$-Virus...confirming the confirmation of a confirmation. You're right. During my "Changing a shell-script to a KDE-Dialog" i used the mesages to "echo" the variables and "see" the startpoint of every function. It's all done by try and error...

Thanks for the hint. ;)


Ever seen a "blue screen"?
Reply to this

-

 Link?

 
 by brcha on: Jan 22 2007
 
Score 50%

I agree with bsander that there are too many dialogs. But I guess that can be cut down easily.

One suggestion. Maybe it would be nice if you offered an option to symbolic link the files to the "master file" (what ever that is). If you search the .mp3s, it is ok to delete the dupes. But if you search your programming directories, it is probably smarter to symlink libtool.sh to some /usr/.../libtool.sh than to delete them all :)


Reply to this

-

 Re: Link?

 
 by deft on: Jan 22 2007
 
Score 50%

Yap. That's what i meant with the Point "Link" in the ToDo.
My Idea of using the script was (at first) to reduce the size of my mp3-collection...
Set Symlinks instead of deleting makes sense... i'll try my very best - hopefully i'll find time for that.

Please excuse my bad english...


Ever seen a "blue screen"?
Reply to this

-

 hint

 
 by panzi on: Mar 4 2007
 
Score 50%

I wrote a similar tool a while ago. I used python and did this: I first used the file size as key. this is very fast and sorts many files out. then I made a sha1/md5 (chooseable) sum and used that as key and then the remaining collisions where binary compared (optinal).

the thing with the file size speeds the process up a lot! ;)


Reply to this

-

 Re: hint

 
 by deft on: Mar 6 2007
 
Score 50%

Yap, this makes sense! I'll try bring it in my script!

But my actual problem is: file name with spaces...

... and building links ... cause:

if i change the IFS to anything else than a "whitespace" DCOP failed with the gauge - ok - a gauge isnt'that necassary...

So, the next step is a "ln -s"-function.

a basicly working version is done - hopefully i bring it to a "testing"-state

Thx 4 ur reply - jens


Ever seen a "blue screen"?
Reply to this

-

 Re: Re: hint

 
 by panzi on: Mar 6 2007
 
Score 50%

But my actual problem is: file name with spaces...

That was one of the reasons why I did choose python. ;)
That and pythons nice & fast dictionaries (hashtables).

If you want to take a look at it, here is my script: http://twoday.tuwien.ac.at/pub/stories/255295/


Reply to this

-

 Re: Re: Re: hint

 
 by deft on: Mar 8 2007
 
Score 50%

thx 4 the link, helpful 4 me ;)


Ever seen a "blue screen"?
Reply to this

-

 great!!!

 
 by fireedo on: Mar 4 2007
 
Score 50%

this is exactly what I need :)
I have thousand mp3's files and a lot of them are duplicated and with your script I can find it without doin' "dirty" job by find it one by one....
thanx a lot


Reply to this

-

 Re: great!!!

 
 by deft on: Mar 6 2007
 
Score 50%

Thank's for your reply!

That's what i made it for. Having a song multiple times in amarok still drives me crazy ;)

I hope everthinks works well with my script on your machine :)

greetz from berlin - jens


Ever seen a "blue screen"?
Reply to this

-

 Editing the delete list

 
 by dar38 on: Jan 5 2009
 
Score 50%

Hello,
if anybody cares, I wrote a simple patch for editing the list of the files to be deleted. Here it is
[code]
--- one.sh 2009-01-05 11:52:50.000000000 +0100
+++ myone.sh 2009-01-05 11:52:50.000000000 +0100
@@ -114,6 +114,26 @@
echo "Duplicates: $u" >> ./diff.kjo
echo " " >> ./diff.kjo
kdialog --title "All multiple Files" --textbox diff.kjo 800 600
+
+
+ONEEDITOR=kate
+MODIFY=yes
+until [ $MODIFY = "no" ]; do
+FILENAME="loesch_liste.kjo"
+x=`kdialog --title "Keep just one!" --inputbox "Would you like to edit the list
?" "no"`
+if test "$x" = "yes"; then
+MODIFY="yes"
+kdialog --title "Keep just one!" --msgbox "Please edit the difference file.
+Be careful, don't forget to save the file after editting. "
+$ONEEDITOR $FILENAME
+else
+MODIFY="no"
+fi+
+
+
+
x=`kdialog --title "Keep just one!" --inputbox "Please enter yes to delete $u f
iles!" "no"`
if test "$x" != "yes"; then
kdialog --title "Keep just one!" --msgbox "Nothing happens to your files
"
[/code]
+done


Your dog barks at night ? Solution [url]http://taistoiathos.free.fr[/url]
Reply to this

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.