Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
Running Windows on your Mac
I need Unix help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dysfunction" data-source="post: 626571" data-attributes="member: 51052"><p>Need a space between - and /</p><p></p><p>To remove the entire directory you'd need to do </p><p></p><p>sudo rm -rf /Volumes/"WINDOWS HD"/.Trashes/502/</p><p></p><p>I was hoping there'd be a username for that dir so we could do a </p><p></p><p>find /Volumes/"WINDOWS HD"/.Trashes/502/ -user <uname> -exec rm -f {} ';'</p><p></p><p>Hrm... thinking about it...</p><p></p><p>find /Volumes/"WINDOWS HD"/.Trashes/502/ -nouser -exec rm -f {} ';' </p><p></p><p>might just work, but I'd do this first and make sure it returns what you want. Because the above statement deletes ANYTHING returned by that find command. Blindly. (you should never rm from a find unless you know the returned items, period.)</p><p></p><p>sudo find /Volumes/"WINDOWS HD"/.Trashes/502/ -nouser</p></blockquote><p></p>
[QUOTE="Dysfunction, post: 626571, member: 51052"] Need a space between - and / To remove the entire directory you'd need to do sudo rm -rf /Volumes/"WINDOWS HD"/.Trashes/502/ I was hoping there'd be a username for that dir so we could do a find /Volumes/"WINDOWS HD"/.Trashes/502/ -user <uname> -exec rm -f {} ';' Hrm... thinking about it... find /Volumes/"WINDOWS HD"/.Trashes/502/ -nouser -exec rm -f {} ';' might just work, but I'd do this first and make sure it returns what you want. Because the above statement deletes ANYTHING returned by that find command. Blindly. (you should never rm from a find unless you know the returned items, period.) sudo find /Volumes/"WINDOWS HD"/.Trashes/502/ -nouser [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
Running Windows on your Mac
I need Unix help
Top