Permalink
Browse files

Rename DeDRMed files with spaces.

  • Loading branch information...
1 parent d29dc06 commit 752faa0c9e702dff88735186855ad3b989bd2838 @MikeMcQuaid committed Jan 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 dedrm-rename.sh
View
@@ -10,5 +10,5 @@ for OLDFILENAME in *.mobi
do
NEWFILENAME=$(echo $OLDFILENAME | sed -e 's/[A-Z0-9]*_\(.*\)/\1/' \
-e 's/_/ /g' -e 's/EBOK //' -e 's/ nodrm\.mobi/.mobi/' -e 's/ / - /')
- mv -iv $OLDFILENAME "$NEWFILENAME"
+ mv -iv "$OLDFILENAME" "$NEWFILENAME"
done

0 comments on commit 752faa0

Please sign in to comment.