July 3, 201016 yr Q. How to erase whats on an UNRAID volume ((Yea, i know, should be simple)) (It wont erase due to .DS_STORE and other "dot" files using AFP. samba or the managemt tools.....) I have one massive directory and it has invisible files that need dealing with.... and wont delete - no matter what i do. Drive is Disk2..... Tried setting everything to unlocked and del .ds_store files, and now it complains i dont have correct permissions to delete a contained file.... nothing has worked. Including trying to get the .ds_store cron task working (I dont think i have succeeded in getting it to run looking at logs..) Id just format that drive, but that seems a bit more than should be required. Can you use RM? Im unshure of the unix basics to do this ((I dont want to kill more than im trying to!)) - Thanks for the help!
July 3, 201016 yr To see what will be removed, type: find /mnt/disk2/ -xdev -depth -mindepth 1 -exec echo {} \; To actually do the remove: find /mnt/disk2/ -xdev -depth -mindepth 1 -exec rm -Rf {} \; (The "echo" is replaced with "rm -RF")
Archived
This topic is now archived and is closed to further replies.