Jump to content

Might have duplicated files, how to fix?


Recommended Posts

Made a dumb mistake - need help fixing it

 

I was moving some files between array disks (i.e. Disk1 to Disk5) because I had waited too long to add a new drive and the old ones were all at 85-90+% so I wanted to balance things out.

 

Well, when I was moving things about in Midnight Commander, I might have used copy instead of move out of habit.

 

So I looked a fast way to check for duplicate files between directories.

 

I am using diff -rsq /mnt/disk1/Movies /mnt/disk5/Movies | grep identical

 

EDIT/UPDATE: Since I was moving whole directories I tried this and it is working way better:

 

diff -sq /mnt/disk3/Movies /mnt/disk5/Movies | grep Common

 

But I came across a utility, fdupes, which looks to be more use specific. Has anyone installed that on unraid?

 

Other options also welcome...

Link to comment
  • 11 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...