diff --git a/README.md b/README.md index e6946db97..8e9257808 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ It certainly doesn't help that the first option explained in `man tar` is: There seems to be room for simpler help pages, focused on practical examples. How about: -![screenshot of the tldr-node-client displaying the tldr page for the tar command](images/screenshot.png) +![animated svg of the tldr client displaying the tar command](images/tldr.svg) This repository is just that: an ever-growing collection of examples for the most common UNIX, Linux, macOS, SunOS and Windows command-line tools. diff --git a/images/screenshot.png b/images/screenshot.png deleted file mode 100644 index 79c34ee4b..000000000 Binary files a/images/screenshot.png and /dev/null differ diff --git a/images/tldr.svg b/images/tldr.svg new file mode 100644 index 000000000..671549b4d --- /dev/null +++ b/images/tldr.svg @@ -0,0 +1,494 @@ + + + + + + + + + ~ + + + + ~ + tldr + + + + ~ + tldr + tar + + + tar + + + Archiving + utility. + + + Often + combined + with + a + compression + method, + such + as + gzip + or + bzip2. + + + More + information: + https://www.gnu.org/software/tar. + + + - + [c]reate + an + archive + from + [f]iles: + + + tar + cf + target.tar + file1 + file2 + file3 + + + - + [c]reate + a + g[z]ipped + archive + from + [f]iles: + + + tar + czf + target.tar.gz + file1 + file2 + file3 + + + - + [c]reate + a + g[z]ipped + archive + from + a + directory + using + relative + paths: + + + tar + czf + target.tar.gz + --directory= + path/to/directory + . + + + - + E[x]tract + a + (compressed) + archive + [f]ile + into + the + current + directory: + + + tar + xf + source.tar[.gz|.bz2|.xz] + + + - + E[x]tract + a + (compressed) + archive + [f]ile + into + the + target + directory: + + + tar + xf + source.tar[.gz|.bz2|.xz] + --directory= + directory + + + - + [c]reate + a + compressed + archive + from + [f]iles, + using + [a]rchive + suffix + to + determine + the + compression + program: + + + tar + caf + target.tar.xz + file1 + file2 + file3 + + + - + Lis[t] + the + contents + of + a + tar + [f]ile + [v]erbosely: + + + tar + tvf + source.tar + + + - + E[x]tract + [f]iles + matching + a + pattern: + + + tar + xf + source.tar + --wildcards + " + *.html + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ~ + t + + + + + + ~ + tl + + + + + + ~ + tld + + + + + + + + + + + + + + + + ~ + tldr + t + + + + + + ~ + tldr + ta + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tar + xf + source.tar[.gz|.bz2|.xz] + --directory= + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +