0
votes
2answers
364 views

How to quickly extract all kinds of archived files from command-line?

Many times I need to extract different kinds of archived files using commad-line. But not all the time I remember the exact command for any type of file archive. So, I have to waste time and search ...
0
votes
3answers
130 views

Which archive format does not read/extract whole archive when extracting single file?

As the title states, I have a few large archives (currently in .7z and .tar.gz format) stored on a remote location which I access via sshfs. I often find myself needing to extract one or two files ...
0
votes
1answer
703 views

Problem with extract a .tar.gz file

I've Download a '.tar.gz' file from here. File size is 152 MB. Downloaded file size is 450 MB on my computer !! I tried to extract that file but i get below error : gzip: stdin: invalid ...
1
vote
0answers
320 views

TAR by file creation date and extraction of a file by its file name

Obviously, there are a lot of web pages on TAR out there. However, I have not been able to find a suitable Google query to determine if what I want is even possible. I have found items such as: ...
7
votes
2answers
255 views

Extract only the contents of an archived directory from within an archive

The Situation I am extracting a CMS from drupal-7.15.tar.gz to /var/www. When extracted normally (with tar -xvzf filename.tar.gz) the files end up in /var/www/drupal-7.15/ The Goal I want the ...
0
votes
2answers
227 views

Manually add files to tar

I have a ton of txt.gz files on a network I want to ungzip and put into a tgz. I have enough disk space for the all compressed files, but not uncompressed. The way I see it in my head is tar -czf ...
8
votes
1answer
11k views

How do I extract a specific file from a tar archive?

Hi is possible to restore a single file from the .tar backup ? I dont want to restore total backup . i just want to restore one single file from the backup .
2
votes
0answers
237 views

How can I tweak this split-tar-gz-archive script?

I came across this shell script that can be used to split an entire directory across multiple compressed files. I am interested in making a minor tweak to this script. Lets say I have n GB of files ...
2
votes
1answer
121 views

What happens when I drop a file on archive in Nautilus?

I had this file structure: 2000/ 001.txt 002.txt 003.txt ... 2001/ ... 2002/ ... ... 2011/ I guess file structure doesn't matter, but anyway... So folders are representing couple of ...
5
votes
1answer
293 views

How to archive with ignoring files larger than 100MB

I'm trying to archive files with tar and ignoring files larger than 100MB. Is that possible? PS: Not have to use tar.
1
vote
1answer
364 views

Can you help me remotely backup my filesystem?

The institution I work for wants me to backup the entire filesystem of a server and store it on another server. Both servers are running the latest release of Ubuntu. I'm having a little bit of ...
1
vote
1answer
165 views

Is there any ncurses archiver interface available?

I am looking for a way to create archives on the commandline with some minimal ASCII interface. Could be for tar, zip or rar files, but should provide miniml ncurses (or other) "fake" graphical ...
1
vote
3answers
1k views

How do I extract a tarball, skipping some of the leading directories?

I am archiving a folder using following command: tar jcf "home/username/forum/forum.tar.bz2" /var/www/forum/ Then I am extracting using : tar jxf forum.tar.bz2 ./ It extracts correctly, but ...