UnRelatedBurner@sh.itjust.workstoLinux@lemmy.ml•Tried to rm -r my .cache but accidentally did .config instead...
0·
6 days agoWhat an awesome tool that I wish I knew sooner. Also the && operator in sh. I think you can figure out what happened.
What an awesome tool that I wish I knew sooner. Also the && operator in sh. I think you can figure out what happened.
I left the last sentence open ended, for comedic effect, but if you really wanna know:
I transcoded videos with ffmpeg, and tried to exit out of the bash script with ctrl C. the script was something like:
for ffmpeg file finishedFile; rm file;
my ^C broke out only from ffmpeg and before I realized what happened the file got removed and the next ffmpeg call filled my terminal. I tought the key didn’t register, or something was stuck, so I pressed it again… and again… it cost like 45minutes of footage, wasn’t that important tho.