Last active
November 19, 2021 09:03
-
-
Save njanirudh/9d607d701696aadd9a62431da31e78d6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Batch rename files | |
ls | cat -n | while read n f; do mv "$f" `printf "%04d.jpg" $n`; done | |
Finds all the executables in the folder (source)[https://superuser.com/questions/492501/how-do-i-list-all-of-the-executables-in-a-linux-directory-sub-dirs-path] | |
find . -type f –executable | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment