Tag Archives: howto

Deleting files in a text file (OSX)

Someone had a list of absolute paths of files they needed to delete. I sent them this tiny script to help them out: sed ‘s/\ /\\ /g’ filelist.txt | xargs rm Explanation: Take filelist.txt, replace all the spaces with backslash … Continue reading

Posted in technology | Tagged , , , | Leave a comment