Created
July 2, 2012 03:44
-
-
Save brunogama/3030898 to your computer and use it in GitHub Desktop.
Delete pdf file if epub exist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *pdf; do x=$(echo $i | sed 's/pdf/epub/g'); [ -f $x ] && rm $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment