tgz The trouble for me is creating the tarball in a separate directory without removing the original, and a checksum would be nice too, I just want to make sure everything went ok before I remove the files I want to send. Generally you should untar things into a directory, or the present working directory will be the destination which can get messy quick. Unpacking the gz and tar files can be done with applications like Pacifist or Unarchiver (free), or by going back to the command line with: You can run these as two separate commands if you really want to, but there isn’t much need because the tar command offers the -z flag which lets you automatically gzip the tar file. tar.gz file is actually the product of two different things, tar basically just packages a group of files into a single file bundle but doesn’t offer compression on it’s own, thus to compress the tar you’ll want to add the highly effective gzip compression. jpg extension will be compressed into the file and nothing else. The * is a wildcard here, meaning anything with a. Tar -cvzf itemtocompressįor example, to compress a directories jpg files only, you’d type: From the command line (/Applications/Terminal/), use the following syntax:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |