anyone here familiar with the 7z CLI?
i am trying to use it to split a file into smaller chunks (volumes) WITHOUT producing any specific archive format. i just want to split a file.
eg. file.gpg, is 1500MB, and i want to produce three 500MB volumes named file.gpg.001, file.gpg.002 ... file.gpg.005
I've tried:
7z a -m0=copy -v500m file.gpg file.gpg
..but it complains.
If I do this:
7z a -m0=copy -v500 file file.gpg
..it produces, file.7z.001, file.7z.002 ... file.7z.005
i am trying to use it to split a file into smaller chunks (volumes) WITHOUT producing any specific archive format.
i just want to split a file.
split -b 1500MB -d file.gpg file.gpg.
7z a -m0=copy -v500m file.gpg file.gpg
..but it complains.
7z a -m0=copy -v500m file.gpg file.gpg
..but it complains.
Does it have to be 7z? What about just 'split' ? It won't do the naming convention you gave, but it's just three files...
split -b 500M file.gpg
I am not familiar enough with 7z to make it do this. If it were me, i would use SPLIT.EXE from DJGPP's textutils package.
split -b 1500MB -d file.gpg file.gpg.
<http://www.delorie.com/pub/djgpp/current/v2gnu/txt20br3.zip>
<https://www.gnu.org/software/coreutils/manual/html_node/split-invocation.html>
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 254 |
Nodes: | 10 (0 / 10) |
Uptime: | 07:38:13 |
Calls: | 1,647 |
Files: | 4,030 |
Messages: | 388,812 |