Created
September 20, 2021 08:00
-
-
Save ybagheri/b03e8815d5e3f8665a3150336b981ddb to your computer and use it in GitHub Desktop.
downlaod rar unrar some file zip some of them
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
# prepare and install tools | |
sudo su - | |
sudo yum install epel-release | |
sudo rpm -v --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro | |
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm | |
#install unrar | |
yum install unrar | |
## then: | |
# downlaod from site | |
wget 'https://download_path_file.rar' | |
# manual change file name to l.rar | |
# now you should change file name to l.rar for simplification | |
#unrar pdf files | |
unrar e -pwww.irlanguage.com l.rar *.pdf | |
# zip only pdf files | |
zip files.zip *.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment