Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #201243
| From | Long Wind <longwind2@yahoo.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: any program that search for same files? |
| Date | 2018-10-15 01:00 +0200 |
| Message-ID | <wIXwB-82k-5@gated-at.bofh.it> (permalink) |
| References | <wIWKe-7LZ-9@gated-at.bofh.it> <wIWKe-7LZ-7@gated-at.bofh.it> <wIWTU-7Pf-5@gated-at.bofh.it> <wIXdf-7Wd-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
according to rdfind manual:
EXAMPLES Search for duplicate files in home directory and a backup directory:
rdfind ~ /mnt/backup
i run "rdfind /mnt/money/doc /mnt/play"
to my alarm, it delete files:
Now scanning "/mnt/money/doc", found 925 files.
Now scanning "/mnt/play", found 30527 files.
Now have 31452 files in total.
Removed 0 files due to nonunique device and inode.
Now removing files with zero size from list...removed 1 files
Total size is 30245034596 bytes or 28 Gib
Now sorting on size:removed 18727 files due to unique sizes from list.12724 files left.
Now eliminating candidates based on first bytes:^C
On Monday, October 15, 2018, 6:39:40 AM GMT+8, Håkon Alstadheim <hakon@alstadheim.priv.no> wrote:
Den 15. okt. 2018 00:19, skrev The Wanderer:
> On 2018-10-14 at 18:06, Long Wind wrote:
>
>> given two directories, the program can print files that are in both
>> directories
>>
>> to make it easy, if file name and size are same, then they are same
>>
>> i've to admit my memory is poor, if good, who need such program?
>>
>> i'm about to write it in java, it can be completed in a few hours but
>> i think there might be simple solution
> Sounds like a perfect case for rdfind.
>
fdupes or jdupes fit the bill.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
any program that search for same files? Long Wind <longwind2@yahoo.com> - 2018-10-15 00:10 +0200
Re: any program that search for same files? The Wanderer <wanderer@fastmail.fm> - 2018-10-15 00:20 +0200
Re: any program that search for same files? Håkon Alstadheim <hakon@alstadheim.priv.no> - 2018-10-15 00:40 +0200
Re: any program that search for same files? Long Wind <longwind2@yahoo.com> - 2018-10-15 01:00 +0200
Re: any program that search for same files? The Wanderer <wanderer@fastmail.fm> - 2018-10-15 01:40 +0200
Re: any program that search for same files? Long Wind <longwind2@yahoo.com> - 2018-10-15 02:20 +0200
Re: any program that search for same files? Long Wind <longwind2@yahoo.com> - 2018-10-15 01:10 +0200
Re: any program that search for same files? Erik Christiansen <dvalin@internode.on.net> - 2018-10-15 03:20 +0200
Re: any program that search for same files? Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2018-10-15 17:20 +0200
Re: any program that search for same files? Long Wind <longwind2@yahoo.com> - 2018-10-16 10:00 +0200
Re: any program that search for same files? David Christensen <dpchrist@holgerdanske.com> - 2018-10-17 06:20 +0200
Re: any program that search for same files? Long Wind <longwind2@yahoo.com> - 2018-10-17 13:20 +0200
csiph-web