nicklec Posted July 15, 2009 Posted July 15, 2009 Want to tidy up all the junk left on our laptops, in particular Movies and Library are stored locally, looking for advice on how to structure a script (or just one-liner). I was thinking we could just do: rm -rf /Users/*/Movies/* For each folder, but we dont necessarily want to touch our local admin account, is there a similar command with any exclude="" type functionality or should we just move the stuff we want to keep, nuke /users/ and move it back? Thanks in advance.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now