LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2012, 02:40 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,057

Rep: Reputation: 47
Krusader, duplicate files


How to find duplicate files (same content) with Krusader?
 
Old 11-11-2012, 11:04 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
0. Select files in pane, ALT+f,y (File > Compare by content) which basically fires up Kdiff3.
1. Select files in pane, apply a Krusader User Action:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE KrusaderUserActions>
<KrusaderUserActions>
 <action name="showDupes" >
  <title>Show duplicate files</title>
  <tooltip>Show duplicate files</tooltip>
  <icon>/usr/share/pixmaps/redhat-system_tools.png</icon>
  <category>File</category>
  <description>Hash files and show only duplicates.</description>
  <command executionmode="collect_output" >sha1deep -r %aList(&quot;Selected&quot;)% | sort -g | uniq -w40 -d --all-repeated</command>
 </action>
</KrusaderUserActions>
 
Old 11-12-2012, 12:40 AM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,057

Original Poster
Rep: Reputation: 47
1. thanks but I need output inside Krusader panel, so I can easily choose which duplicates to delete.
0. ALT+f,y is unusable for large files.
 
Old 11-12-2012, 10:31 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Quote:
Originally Posted by qrange View Post
I need output inside Krusader panel
Feel free to improve the user action using the examples.
 
  


Reply

Tags
compare files by hash, krusader, user actions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
duplicate files sarew Linux - Newbie 7 07-06-2010 09:30 AM
does tar or bzip2 squash duplicate or near-duplicate files? garydale Linux - Software 6 11-19-2009 04:43 PM
Finding duplicate files SlowCoder Linux - General 6 10-12-2007 08:25 AM
deleting duplicate files cs-cam Linux - General 3 11-14-2006 11:27 PM
Duplicate Files and linux carl0ski Linux - Software 1 12-22-2004 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration