Comments on: 18 Tar Command Examples in Linux https://www.tecmint.com/tar-command-examples-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 19 Apr 2024 13:10:58 +0000 hourly 1 By: Jessica https://www.tecmint.com/tar-command-examples-linux/comment-page-1/#comment-2160176 Fri, 19 Apr 2024 13:10:58 +0000 http://www.tecmint.com/?p=1062#comment-2160176 In reply to Richard Quadling.

In theory, you can have multiple options like:

tar -c -z -f 
tar -czf
tar -zfc

All of them are the same, but for those that are not a shorthand then they need to be typed in full such as this one then you need to type that option and separate it with a space for other options and so on

tar --exclude 

Weird though or maybe I wasn’t paying attention that sometimes we just forget to mention things and get others confused.

]]>
By: Jessica https://www.tecmint.com/tar-command-examples-linux/comment-page-1/#comment-2160172 Fri, 19 Apr 2024 13:04:10 +0000 http://www.tecmint.com/?p=1062#comment-2160172 Although I’ll remember the command later when I’m finished with other more important tasks. The guides so far are a good way to at least understand what the commands do.

]]>
By: Richard Quadling https://www.tecmint.com/tar-command-examples-linux/comment-page-1/#comment-1866960 Wed, 24 Aug 2022 11:51:21 +0000 http://www.tecmint.com/?p=1062#comment-1866960 Why do some of the `tar` commands shown above have the `-` in front of the options and other times it does not? It’s very confusing.

]]>
By: Jean https://www.tecmint.com/tar-command-examples-linux/comment-page-1/#comment-1860707 Thu, 11 Aug 2022 11:52:03 +0000 http://www.tecmint.com/?p=1062#comment-1860707 Hello,

I just installed Linux Mint instead of Windows.

I think I will often come here to find info…

Thanks

]]>
By: edwinkaryee https://www.tecmint.com/tar-command-examples-linux/comment-page-1/#comment-1837343 Thu, 30 Jun 2022 11:47:01 +0000 http://www.tecmint.com/?p=1062#comment-1837343 Working with the ‘tar‘ commands has become a daily routine for me now, because of your tutorial.

Thank you very much and keep up the good work.

]]>