0
votes
1answer
18 views

Unrar local files to remote server

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
0
votes
1answer
15 views

Add file to RAR without keeping folder structure [duplicate]

I'm running this command: rar u /var/www/html/Backups44.rar /var/www/html/linkreplacer/MD5Change I want to add the file "MD5Change" to the rar "Backups44" but whenever i run this it adds all the ...
0
votes
1answer
37 views

unrar all rar files in a directory with linux

I am trying to extract many rar files at once, but with no successful. I am trying in the order: >ls *.rar|xargs unrar x >ls *.rar|xargs unrar e >unrar e -r *.rar >for f in *.rar;do unrar ...
1
vote
0answers
16 views

Combining instructions to automatically RAR a folder in screen, process it, and then clean up?

I'm trying to create a single instruction I can execute in a Linux SSH session which will - Create a new screen session. Navigate to that screen session (if it doesn't automatically) Create ...
0
votes
1answer
106 views

How to unrar the STDIN?

What I have tried: cat archive.rar | unrar x - cat archive.rar | unrar x /dev/stdin cat archive.rar | 7z x - cat archive.rar | 7z x -si cat archive.rar | 7z l -si The unrar doesn't recognise the - ...
-1
votes
1answer
91 views

How to allow user to input file names in bash script

I've got this script I called it "r1": for f in "$@" do fpath=`dirname "$f"` file=`basename "$f"` arc=$fpath"/"$file".rar" rar a -v1024000 -r -m0 -ep1 -o- "$arc" "$f" done It works well but I am ...
1
vote
1answer
126 views

Bash Script for Rar command

I need a script to rar my files usage will be like this r1 archivename fileordirtocompress with following attributes rar a -m0 -v1024000 -r How whould this bash script look like? #!/bin/bash ...
0
votes
0answers
104 views

How can I get RAR to create a segmented archive (volumes) when compressing from stdin?

I have this ZFS box where I'm creating incremental snapshots, then piping them into RAR (4.2) for compression and encryption, and finally backing those files up remotely. Thing is, RAR seems to ...
1
vote
1answer
448 views

How do I use rar to encrypt files including the file list in the command line?

I know I can do the following below to encrypt the files, but for the life of me I can't figure or find out how to encrypted the file list too. rar a -p rarfile.rar myfiles
0
votes
1answer
106 views

How to extract rar file without “Extracting ~” message

When I use zip command in shell script, I set on -q (--quiet) option. Is there the option for rar command? I don't want to show "Extracting ~" message and rar version infomartion in console. I ...
1
vote
0answers
95 views

Ubuntu 12.04 LTS / random “user breaks” with Rar 3.90b

I want to move my websrv to another hoster and I am running into an utterly confusing problem. I am loading the DB with several RAR files i download via FTP, those files are verified with MD5 (and ...
0
votes
1answer
100 views

Verifying file integrity on NTFS under linux

I have an NTFS volume that I share between a linux machine and a windows machine. Recently I have had a couple of strange problems where files have become corrupted. This has affected some media ...
0
votes
2answers
602 views

How to add files to the root of a RAR archive in Linux

I have an Ubuntu Server and use rar with the exec() function. When I want to create a RAR archive from my files, this program uses their path in my RAR archive. For example, if my file is in ...
7
votes
2answers
5k views

How do I rar a file into several parts in Linux?

I want to make a rar file(not tar or gzip) with several parts in linux shell, how can do that please? for example my file is : m.avi - 500mb I want this : m.part1.rar 250mb m.part2.rar 250mb
4
votes
1answer
536 views

How to add archive comment from a file or string?

I am writing a BASH script. I am using RAR 3.93 on Ubuntu 10.08. I want to add a comment to an archive example.rar. The comment is "This is a comment". rar c example.rar Processing archive ...
0
votes
1answer
2k views

Linux Extracting a rar format file

I copied a .rar file from a Windows to a Linux machine using WINSCP tool. After copying the file, I tried to extract the .rar file, but I wasn't successful. I tried using unrar and file.rar. I got ...
2
votes
2answers
1k views

RAR Usage in Linux Command Line

I'm using RAR 3.80 (command-line) on CentOS 5.5. I have a .rar file called example.rar; if I use the following command then I can clearly see that it displays an archive comment and a list of ...
1
vote
2answers
2k views

How do I extract a RAR archive in Linux

How can we extract a .rar archive in Linux?
2
votes
1answer
1k views

How to correctly extract the files from rar archive that contains non-ASCII characters as folder name or filename on linux

I used rar to list/extract the archive, but the non-ASCII characters became unreadable words. The 7z could list the folder name/filename with readable characters, however 7z said the unsupported ...
0
votes
1answer
175 views

Why does “unrar” extract everything fine, except for *.html files?

When I try to extract different archives, files with the extension *.html never unpacked. Files with other extensions of the same archives successfully decompressed. Why is this happening? I have ...
3
votes
1answer
4k views

How to create multipart rar file in Linux?

How can I create multipart rar file in Linux using the official console rar client? RAR 3.90 Copyright (c) 1993-2009 Alexander Roshal 16 Aug 2009 Shareware version Type RAR -? for help ...
0
votes
7answers
586 views

Linux slows to a crawl when unarchiving a big file

I started unarchiving a RAR file that this several gigabytes big. The computer is now going really slow, it's almost frozen. Sometimes I can move the mouse a little, but that's it. The unarchiving ...