HAH! I know!!! The "correct" flags are always: Ctrl + r 'ffmpeg' an undefined amount of times 8D
comments
If you use fzf you can just type "ctrl-r tar"
ffmpeg is always funny to me, because it feels like you could convert anything into anything, if you just knew the right flags, but 99% of my use is extracting a clip out of a video file.
And the command for that is in my shell history, so I wouldn't know the flags either. Β―\_(βΚβ)/Β―
Ahahaha I feel you. My ffmpeg scripts are similar: they work, but GOD knows why. I should print the manual and read before bed.
Shut. Up. That sounds amazing. Did it convert the video data into ASCII text or did it use ASCII characters to resemble the actual video?
You don't need more, you can just grep tar ~/.zsh_history
If you only want the first ten results pipe to head.
If you want more interactivity use less ~/.zsh_history
Then press / to search. Press n for next match
This comment got my brain stuck in an infinite loop: there's a rabbit on the Japanese moon, there are tons of moon themed jazz songs, the moon is cheeze, moonshine, moon rhymes with boon, Moon River is a beautiful song, Kame-sennin blew up the moon to make Son Goku revert to his human form, Moonraker was only "meh..."...
I still don't get it. WHAT does this expression mean π
Tar (some versions at least?) is actually smart enough to detect which format to use based on file extension of the output, so you don't need to remember which flag corresponds to which compressor. Examples:
tar -caf archive.tar.xz [files]
tar -caf archive.tar.bz2 [files]
# extract
tar -xf archive.tar.xz
tar -xf archive.tar.bz2
So you really only need to remember that c means create, x means extract
more ~/.zsh_history | grep tar
highlight
copy
paste
move cursor to change file
am i doing it right
or tar --help
e[x]tract; g[z]ip; [v]erbose; [f]ile
Reordered, and we can have [v]erbosely e[x]tract g[z]ip [f]ile, or tar vxzf [file]
I find it more difficult to remember other options. Might stick better if pronouncing the g in gzip similarly as GNU insists GNU be pronounced, with a hard gβnever really tried it, but sounds a little funny. Actually, I think I first remembered it as g sounding like the, making for extract the zip file, but with a soft g; I felt the former put too much emphasis on a letter not used as an option.
rsync over ssh
It's easy, you just have to remember the development was from Transylvania.
EXtract Ze Vamn Files
This is output on my setup (I frequently forget that I did this):
$ tarhelp
helper definitions for tarcomp, untar, and tarls / tarlist:
- tar[comp] -czvf archive.tar.gz file1 file2 dir1 file3
- [un]tar -xvf archive.tar.gz
- tar[ls|list] -tvf archive.tar.gz
A clever helper, I think. If I remember to use it.
The real reason behind tech illiteracy is phones, with their 100% PC independent and 100% locked down ecosystems.
zxf and zcf for me, I know what they do but not what it means. It's been like 30 years at this point
eXtract Ze Vucking File
I can do it if what I want to do is to extract a .tar.gz or .tar.bz2. Anything else is a myth
Use "tvf" (or tvzf or tvJf) first to make sure the files are nested nicely and not about to splooge all over your home directory.
Then again, under current diagnostics for autism, we might all have been on the spectrum since we were all geeks on some level.
Who is gonna tell him?
I just use tar xf (extract file). Not sure, if that would've already worked 13 years ago...

eXtract Ze Vucking File?
Ja mein freund.
same. One of those commands I only ever see with a specific set of flags that makes me wonder why or how flags are even useful for most users
I'm confused, I've not found much difference between zips/tarballs/7zip files. I know there is a difference, but I like using the best tools. pls pitch me on how zip should be banished