Questions tagged [tar]

a utility to archive files into a sequential stream, then commonly placed into one file on disk (previously tapes, hence the name, Tape ARchive)

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Copying archive contents to another

I have to add a2.tar contents to a1.tar archive (then show a1.tar contents). How to do that?
0
votes
1answer
26 views

Extracting Multiple tar.gz files and copying the files present in sub directories into common folder

I have multiple tar.gz files in 1 folder In each tar.gz file, there are 2 folders named "Cscf & Cscf2", which further having 1 xml file each. So my requirement is xml files present in Cscf folder ...
0
votes
1answer
114 views

How to install DroidCam PC Client for Ubuntu 20.04?

I'm trying to install DroidCam PC client in my Ubuntu 20.04 but I'm not able to do so. The linux headers are installed, and the zip file too is installed but I'm not able to unzip it. Either this: ...
0
votes
1answer
43 views

Discrepancy in the size of compressed file

I was trying to compress a folder into .tar format. The folder size is around 76 MB. Suppose I want to compress the folder myfolder to my-compressed-folder (in tar format) I tried 2 approaches: 1) ...
0
votes
2answers
22 views

Compress folder following any symbolic links

I store a lot of my data in a flat structure and the create symbolic links to different folders where my clients can access them via OwnCloud. I need to compress one of these folders containing sym-...
0
votes
0answers
15 views

Tar archive then compression

I used tar to archive a dir. Then I compressed it with gzip. Now when I used tar -xvf a.tar.gz, I got my original file. Why without unzip it I got my original file?
0
votes
1answer
52 views

How do I start a installed tar.xz file that i installed through terminal? [closed]

I don't know how to do this because i am trying to install Side-quest but its a tar.xz file. Please help me. :(
2
votes
1answer
555 views

Difference between tar -tf vs tar -tzf

I am trying to list the contents of a tar file. I see that by combining -t and -f I can do so. It seems to work even for compressed archives. The combination of -z in addition with -tf also seems to ...
0
votes
0answers
27 views

how to find directories , compress and save in other location

I have a task - To search 6 months old directories/files. 1) Tar and save to another location. Below command works perfectly, but saving to same location where old files exist find . -mtime +180 -...
0
votes
2answers
69 views

installing app : MADGRAPH

in order to installing MadGraph,which is a physicist app showing Feynmman digrams for production of particles, I have download a version,then I have try to untar it using $ tar zxvf MG5_aMC_v2.7.0....
1
vote
2answers
179 views

Setup a cron job to archive a directory and all its sub-directories including hidden files using tar

I'm trying to setup a cron job to archive/backup /home/username/.mozilla/ directory and all its sub-directories, including hidden files, using tar. I like to run the job at 12:01 AM every night. Here'...
0
votes
0answers
22 views

Using make to backup a tar.gz into another folder

I am working on assignment that has a tar.gz file containing c++ programs that we have to modify. I need to use the make command to backup this into another file that I can submit, with a rule that ...
6
votes
3answers
5k views

Why I get “tar: Cowardly refusing to create an empty archive”? when trying to backup the whole server

I am new at ubuntu and dealing with servers. I use Ubuntu 16.04 x64. I want to have a backup for my entire system, So I followed this video https://www.youtube.com/watch?v=KTayZIou-1M I type this ...
0
votes
0answers
15 views

Open incremental tar with archive manager

Is there a way to open an incremental tar file with an archive manager? Guides such as this one and that one show how to create incremental tar archives and how to restore them. Restoring is done ...
0
votes
1answer
73 views

How do I scan all ubuntu source code? I have downloaded & extracted all 5 source dvd iso images

I have downloaded and extracted all 5 source DVD iso images (ubuntu-19.10.1-src-*). There is no useful README; README.diskdefines is useless to me. I guess that the source code is embedded inside a ...
0
votes
1answer
19 views

Need help restoring a tar backup

I managed to borde my sudo... I have a backup of the system that I can try restore. However, since sudo is broken I can't overwrite files that are protected. Guidelines I tired to follow when making ...
1
vote
0answers
39 views

tar.gz issues, would ALIEN work on Ubuntu or Lubuntu

I've been using Linux for a long time and I love it, until I have to install TAR.GZ software. The forums are very confusing on Tar.GZ files. I've heard that it's possible to convert the file to a ...
0
votes
0answers
29 views

Install tar without .configure folder

I'm trying to install processing-video-r5-v2.0-beta3 on Ubuntu18.04 and the extracted folder does not have configure file so I really do not know what to do(I'm only familiar with the whole configure ...
2
votes
1answer
67 views

Safely back up a drive before sending it to data recovery lab (deleted files, not damaged drive)

On Ubuntu 18.0.4 LTS Bionic Beaver, I accidentally ran a bash script that uses rm -rf in places and accidentally deleted a bunch of directories. I am aware of extundelete, however I am sending it ...
1
vote
1answer
276 views

Can't Install Go [duplicate]

sudo apt-get update sudo apt-get -y upgrade wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz using this command I download Go to my device after that I try to extract the downloaded archive ...
1
vote
0answers
50 views

Add exec to “start menu” and CLI

I just downloaded Sublime Text, I used tar to extract it and the software was inside without the need to install it like a package or something. I would like to add a shortcut by typing "sublime_text" ...
3
votes
1answer
569 views

How to exclude a folder by name recursively when making a tar archive?

I know it is possible to exclude a particular folder by a command like this: tar --exclude='/srv/www/project/node_modules' -zcvf /backup/project.tgz . My question how to exclude any folder named ...
0
votes
0answers
16 views

zip files command line [duplicate]

I need to forward a zip file to Yahoo Mail, but Yahoo is returning the email because of its size. The compressed file is 45 MB. How can I compress via the command line so that each file has a maximum ...
9
votes
3answers
2k views

How do I uninstall Telegram which was installed from the tar.xz obtained from the official website?

I installed Telegram by visiting https://desktop.telegram.org/ and downloaded a tar.xz file. After which I ran tar -xJf telegram.tar.xz which uncompressed the tar.xz file and gave me Telegram and ...
6
votes
2answers
2k views

How to extract *.tgz.part-*?

I have several files as follow : multiview_action.tgz.part-aa multiview_action.tgz.part-ab ... ... multiview_action.tgz.part-ap I tried the following command : tar -zxvf multiview_action.tgz* ...
0
votes
2answers
464 views

Unable to unzip file .tar.gz on ubuntu

Hello I have a problem with the command: tar -xvzf. I want unzip the plugins that I just downloaded but I get this message. but before everything else I needed your help please. tar (child): cannot ...
0
votes
0answers
64 views

I deleted tar and dpkg by mistake: Please Help

Due to some tutorial that I followed wrongly, I am receiving this error when I try sudo apt-get upgrade. Please help. dpkg: warning: 'tar' not found in PATH or not executable dpkg: error: 1 expected ...
1
vote
1answer
152 views

How can I install this GridMarkeys_Envoy.tar.gz package

I've download a .tar.gz package ("GridMarkets_Envoy.tar.gz"). I've used the following command to extract the archive: tar -xzf archive-name.tar.gz Then, I navigated to extraction directory. In the ...
4
votes
2answers
114 views

tar using short form option versus old style

In the GNU manual for tar, there is the following example to show that the order of the options is important: tar -cfv collection.tar blues folk jazz In this case, because v is placed after f, then ...
0
votes
1answer
43 views

tar command junkfiles how to find it out

Running tar -cvzf mntpointtoexternaldrive\myarchive.tar.gz /home/user eats alls free space on /home/user disk (same as system disk) and stop with error no left space message. Where can i find the ...
0
votes
0answers
22 views

how can i backup /home/user when source disk has a few free space?

When i tried to tar my files with that usual command tar -cvzf /mnt/externalHDD /home /etc got - No space left on device. evidently tar neeeded a temporary file for archive creation. any advice?
0
votes
2answers
723 views

Cannot Unzip a .tar.gz file

So, I am trying to install apache tomcat, upon me trying to unzip the tar file i am getting this error. gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: ...
0
votes
0answers
59 views

How to open Carla project using UnRealEngine?

When I open a terminal in Carla directory and execute export UE4_ROOT=~/UnrealEngine_4.22 make launch An error comes like this: gzip: stdin: unexpected end of file tar: Unexpected EOF in archive ...
1
vote
1answer
23 views

Untarring a file with limited hierarchy

I have created a tar file in terminal. Let's say I am currently in a directory test7. I am creating a tar in my current directory of a file which is inside another directory (test8). tar -czvf ...
1
vote
0answers
121 views

Compress directories older than 7 days

I have directories(have some .txt files) like this. I'd like compress the dirs older than 7 days (by changed date) to it's corresponding YYYY_MM dir 2019_08_05_132134_ABC 2019_08_02_084423_ABC ...
0
votes
0answers
97 views

untar creates read-only folder in mounted volume on xenial in Docker

I cannot untar an archive as root on xenial due to Cannot mkdir: Permission denied. Environment Ubuntu 18.04 Docker container Host OS: macOS but this is likely irrelevant, I can't test on other host ...
2
votes
3answers
12k views

What is tar -xvf [duplicate]

I am learning about the basics of Linux and archiving/compressing TAR files i have stumbled across tar -xvf and was wondering what it does. I have checked the man pages and know that x means extract ...
1
vote
2answers
80 views

How to compress 3000 images in batches of 50

I have a folder with over 3000 images, I want to compress 50 of them individually and store them in tar files. The images are not serially named. How to use write a bash script which does this job?
23
votes
3answers
4k views

What does the hyphen “-” mean in “tar xzf -”?

When try to install dropbox from command line, I read the commands cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - what does - mean here? is it previous ...
0
votes
0answers
245 views

Uninstall “Firefox developer edition” that was installed using tar.bz2

I'm new to working with Ubuntu and I've followed the instruction given here: https://tutorials.ubuntu.com/tutorial/firefox-for-web-developers#5 to install "Firefox developer edition". Accordingly, I ...
1
vote
1answer
30 views

Problem with a front end of compressed files

I need to make a frontend for compressed files, the idea is that if you receive a gz or bz2 file, uncompress it with gunzip and bunzip2. If what you receive is a tar.gz or a tar.b2 you should unpack ...
-1
votes
1answer
33 views

Trying to get python to work [closed]

I'm in linux. The Python (version 3.6.7)is in my linux operating system and I have fetched all the libs & tk. The next step would be for me to go to downloads then tar. I type the following: cd ...
-1
votes
1answer
971 views

Metadata in the tar file

Scenario: I've translated the directory(MyDir) to .tar(MyDir.tar) through compress option. The directory contained some files like csv, xml, cef, etc. When i try to see the content of tar through ...
1
vote
1answer
1k views

How to install R Studio from a downloaded tar.gz file?

I have the following file downloaded from R Studio website: rstudio-1.2.1335-amd64-debian.tar.gz I have performed the following so far: sudo tar -zxvf rstudio-1.2.1335-amd64-debian.tar.gz Please ...
0
votes
2answers
831 views

curl unexpected end of file when downloading gzip

I used command The URL the data is located at. URL=http://data.biostarhandbook.com/rnaseq/projects/griffith/griffith-data.tar.gz Downloading and unpack the data. curl -s $URL | tar zxv I got ...
0
votes
2answers
819 views

How to compress and encrypt the whole directory (var/log)?

How to compress and encrypt the whole directory (var/log)? My try: #!/bin/bash ... tar -zcvf |bzip2|openssl smime -encrypt \ -aes256 -binary -outform DEM \ -out ${backup_dir}${backup_name} \ "${...
0
votes
0answers
189 views

How to open large archive (tgz) files?

I am switching from Windows to Ubuntu. In Windows, I was using a program for backup which was creating .7z files. It is fast and easy to restore a few files from a huge 7zip archive. In Ubuntu, ...
1
vote
2answers
557 views

Update/upgrade a program installed via tar.gz

I've installed Postman the following way: wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz sudo tar -xzf postman.tar.gz -C /opt rm postman.tar.gz sudo ln -s /opt/Postman/Postman /...
0
votes
1answer
66 views

Error “is required to build” while installing from tar.gz

To install I did the following in terminal. tar -zxvf nombre del paquete.tar.gz cd into file ./configure make make install Tried the option 3 and got the following: checking for a BSD-compatible ...
1
vote
1answer
1k views

How do I backup my file system with tar and multi-thread?

I would like to backup my file system and do it with parallel. I found this guide: https://help.ubuntu.com/community/BackupYourSystem/TAR Where they give me the command: tar -cvpzf backup.tar.gz --...

1
2 3 4 5
10