However, if you must, using those commands from the command line is fine. Best to have a habit of using -d or -decompress instead of unxz as well. The docs recommend this in case you are using this for scripting. Note: unlike Rafael's answer, use xz -dc instead of catxz. To echo Rafael van Horn, to uncompress & untar (see note below): xz -dc | tar x Using testdirectory as a target we’ll make a standard uncompressed. z to manually set xz to zip, though it defaults to zipping if not otherwise directed. You can tell tar to put that file in any directory you want, but it has to be a file. The -C option is optional and the source. E.g.: tar -c -z -f -C /home/username Downloads This willl -c reate a g -z ipped archive named -f ile from the -C hange-folder-to directory and will contain all files in the folder Downloads. You cant tar to a directory - you have to tar to a file. On a command line, you will call tar with a couple of options to create an archive and gzip it. Try tar -help or tar -usage for more information. I often use -k to -keep the original file and -9 for really heavy compression. Hoping that that would take tar1/ compress the directory and place that in tar2. Where -4e is, use your own compression options. Once all the files are compressed, the 'Save ZIP File' button will appear. It will start compressing the contents of the folder. (Optional) Set the desired compression level by clicking the down arrow next to 'Zip Folder'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |