Last active
June 18, 2016 15:06
-
-
Save zyuzuguldu/3d37614c72b24c8f7ef1 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