Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Accidentally replaced a folder rather than merging

Featured Replies

Over the last few days I've been transferring data to my new unraid server. I fear that I might have made a terrible mistake.

 

One Disk2 I had two folders full of mp3 files:

 

2010-genres

genres

 

Each folder had a list of genres e.g. Funk, Jazz, Soul etc and each genre folder had many mp3 albums, each in their own folder. I wanted to merge the 2010-genres into the main genres folder. In Windows I did a "select all" inside the 2010-genres folder and dragged the selection into the genres folder.

 

This seems have been a replace operation rather than a merge. It seems that the behaviour under Linux differs from Windows and I wasn't aware of that.

 

I'm hoping that the data can be recovered somehow, can anyone advise what my best course of action is? The simpler the instructions the better, I'm a bit panicy now since I think I've lost a lot of data :(

 

Thanks for any help!

I'm not sure how you could lose data unless you had identical file names that were overwritten. I suspect the files are somewhere else on your server and you haven't found them yet. Look on all the other disks and see what you can find.

  • Author

Thanks for helping me :)

I did have identical folder names inside the two genres folders. Eg:

 

disk2\2010-genres\funk

disk2\genres\funk

 

disk2\2010-genres\soul

disk2\genres\soul

 

For about 30 different genres. So when I selected all 30 genres inside 2010-genres, and dragged them onto the /disk2/genres folder I think any genres of the same name have been 'replaced' rather than 'merged'. From what I've looked at, this seems to be normal behaviour in osx/linux.

 

Am I understanding it right?

 

When I do this through Windows, it does a merge by default. If items have the same name it asks what to do. At least that is what it does in Windows 7.

That doesn't make sense because when using Windows it will not even do a replace. The only option is to merge. I believe the older versions of Windows would just start the merge and ask if you want to replace each duplicate file. W7 will ask if you want to do the merge or just cancel and then it confirms replacing any duplicates once you start. Any file operations are done the same way it would happen locally when you're doing the file operations on the sever data via Windows.

 

I'm with the others, look for the directories hiding somewhere.

Post a little more of your directory / share structure. Are you using user shares at all? Or are you only using disk shares? Do a folder tree list on all your disks.

  • Author

My idiot status is confirmed - you guys were right.

 

Found the other folder inside a subfolder. I must have miss dragged it. Thank you so much for all the help though.

Archived

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.