Safe to delete using rm -rf?


sse450

Recommended Posts

As I wanted to remove disk3 from the array, I tried to move a folder with 35.000 files (recursively) from disk3 to disk4. Used

mv /mnt/disk3/thefolder /mnt/disk4/

However, it stopped somewhere in the middle after copying some 16.000 files. Nothing is deleted from the source folder.

Then, I did

cp -r -p -n /mnt/disk3/thefolder /mnt/disk4/

Can I now safely delete "thefolder" using the following command?

rm -rf /mnt/disk3/thefolder

Thanks.

Link to comment

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.