Tag Info

New answers tagged

1

You can install LMMS 1.0.3 in Ubuntu 14.04 and 14.10 without difficult compilations with ppa:israeldahl/lmms-1.0.3 repository. sudo add-apt-repository ppa:israeldahl/lmms-1.0.3 sudo apt-get update sudo apt-get install lmms


1

Open your .bashrc file with your editor and add this line: function tardir() { tar -zcvf $1.tar.gz $1 return $? } export -f tardir Save .bashrc and run this command: source .bashrc Now you should call your function as command: tardir XXX You can add more bash code in order to check if tar file already exists or if XXX ...


0

The directory to which you extract your tar file should exist: mkdir foo tar -xzf bar.tar.gz -C foo


0

Open a terminal and type: sudo add-apt-repository ppa:jre-phoenix/ppa Followed by: sudo apt-get update and sudo apt-get install pgld pglcmd pglgui Source: http://sourceforge.net/p/peerguardian/wiki/pgl-Install-DebianUbuntu/


2

You list all the directories to be excluded into a text file, like this : /var/backups /proc /sys /dev /tmp Let's call this file /etc/backup-excl.lst Then you can call the tar command the following way : tar ScpfzX /etc/backup-excl.lst $DESTDIR/$FILENAME $SRCDIR The X parameter flas is to tell that a file with directories to be excluded will follow. ...


0

To add exclude option just append it after: tar -cpzf $DESDIR/$FILENAME $SRCDIR --exclude=proc --exclude=sys --exclude=dev/pts --exclude=/var/backups The better way is to add variable with exclude options, like: EXCLUDE="--exclude=proc --exclude=sys --exclude=dev/pts --exclude=/var/backups" After that your tar command should look like: tar -cpzf ...


4

Watch the ordering. The -f option represents the file, and it should be immediately followed by the file name. The proper command here is tar -xvzf files.tgz.


0

What is a tar archive? TAR is a file format holding multiple files in one. It was initially created for tape archives. Such a tar-file may be referred to as tarball. By default there is no compression involved. However today's versions of tar can compress files using an external compression program if installed. With e.g. the command line option -z a gzip ...


0

I use this,you could try too tar -cvf - your/path/ | xz -9 -c - > myfile.tar.xz


0

I'm not sure whether compressing one file will reduce the size. But here is the command tar -cvf foo.tga filetocompress C is for create a tar file. Use xvf to uncompress



Top 50 recent answers are included