up vote 2 down vote favorite
1
share [g+] share [fb]

Just recently I tried out a backup utility, and wanted to back up the local copies I have of some websites on my MacBook (OS X)

Unfortunately, the utility left two files in every directory it backed up: .shadowFileList and .shadowFolderFlagPlist

I have now removed the backup from that directory, but it still left the files and I would very much like to get rid of the dotfiles.

I am not really a command line power user, but know that's the best way to do it. I suspect I would have to pipe the output of find to rm.

How do you do this?

link|improve this question

75% accept rate
feedback

1 Answer

up vote 6 down vote accepted
% find UPMOST_RELEVANT_PATH -name ".shadowFileList" -delete

obviously, do the same for any other filename you want to throw away...

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.