r/ScriptSwap • u/molten • Nov 03 '12
[Request] duplicate file deleter
I have somewhere in the realm of 40k files that have been duplicated into their folders and others. I was hoping for some advice before I rage quit (sledge hammer) on my hard drive.
for clarity's sake, they're all music files, under one directory. They've been pushed and shoved by Rhythmbox, so i'd prefer a bash solution if at all possible.
8
Upvotes
View all comments
Show parent comment
2
u/terremoto Nov 03 '12
Indent anything you want to be preserved, a la code, with four spaces. Lines beginning with
#are considered headers in markdown.