ZosoPage1963 Posted February 10, 2019 Share Posted February 10, 2019 I have no idea how this happened, but obviously I did something wrong. I now have a ton of shares (with no data in them). One share for each music artist on my server. Is there a way to mass delete shares or do I have to do this one by one? Quote Link to comment
NewDisplayName Posted February 10, 2019 Share Posted February 10, 2019 (edited) I think its just directorys inside /mnt/user/ so probably you could do something like rm -r /mnt/user/A* (but be sure that there is no folder with A... u want to keep) Edited February 10, 2019 by nuhll Quote Link to comment
ZosoPage1963 Posted February 10, 2019 Author Share Posted February 10, 2019 9 minutes ago, nuhll said: I think its just directorys inside /mnt/user/ so probably you could do something like rm -r /mnt/user/A* (but be sure that no folder with A... is u want to keep) thanks... I guess to be very careful, I could do rmdir /mnt/user/A* and that would only remove directories that are empty, correct? (sorry, I am a noob and trying to learn command line) Quote Link to comment
Recommended Posts
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.