Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
remove .added extension from all files in directory
rename 's/\.added$//' *.added
find . -name '*.torrent.added' -print | sed 's/\(.*\)\.torrent.added/ & \1.torrent/' | xargs -L1 echo mv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.