Last active
March 15, 2022 14:14
-
-
Save hgascon/d2cbf1c048222f4e305fe9813ee6520b to your computer and use it in GitHub Desktop.
Move files and files with new extension to new dir
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 FILE in $(ls #.pckl); do | |
NAME=$(echo $FILE | cut -d '_' -f 1) | |
NAMEAPK=$NAME.apk | |
mv $FILE DONE/ | |
mv $NAMEAPK DONE/ | |
done | |
for FILE in $(ls #.pckl); do NAME=$(echo $FILE | cut -d '_' -f 1); NAMEAPK=$NAME.apk; mv $FILE DONE/; mv $NAMEAPK DONE/; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment