I have prepared an entry-level document about performing RAR operations via SSH. To perform RAR operations, we first need to install the relevant RPM files on our server.
We need to choose the RPM file according to the server operating system. To check the OS via SSH, type uname -i.
wget http://dosya.ni.net.tr/Linux/x86_64/rar-3.5.1-1.2.el4.rf.x86_64.rpm
rpm -Uvh rar-3.5.1-1.2.el4.rf.x86_64.rpmInstallation complete. Type man rar for detailed information about the SSH RAR application.
rar e data.rar # Extract ignoring directory structure
rar x data.rar # Extract preserving directory structure
Create a RAR archive
rar a backupdata.rar data.wav
Split into parts of 100MB each
rar a -v100M partdata.rar bigdata.wav
Create a password-protected archive
rar a -p hiddendata.rar hiddenfile.pdf
Split and password protect
rar a -v100M -p partdata.rar bigdata.wav
If the rar file is password-protected during extraction, it will ask for the password without needing any additional parameter.
Leave a Comment
* Your comment will be published after approval.
Comments
0No comments yet. Be the first to comment!