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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.