-
-
Save paulmsmith/02132c60ef1cf6b634ff40e77fd33e85 to your computer and use it in GitHub Desktop.
unrar
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 <var> in <list> | |
do | |
command $<var>; | |
done | |
# to unrar all rar files | |
for f in *.rar;do unrar e "$f";rm "$f";done | |
for f in *.001;do 7z e "$f";done | |
# to unzip all zip files | |
for f in *.zip;do unzip "$f";done | |
for f in *.txt;do mv "$f" /myfolder/;done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment