this post was submitted on 21 Nov 2024
70 points (97.3% liked)

Linux

48372 readers
1506 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm a complete moron, I should've had that backed up and used trash...
I had to learn the hard way lol

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 43 points 6 days ago (2 children)

I should’ve […] used trash

For those who don’t know: trash-cli

[–] [email protected] 7 points 6 days ago

It upsets me to no end that this isn't a standard package 😭

[–] [email protected] 5 points 6 days ago (1 children)

What an awesome tool that I wish I knew sooner. Also the && operator in sh. I think you can figure out what happened.

[–] [email protected] 4 points 6 days ago* (last edited 6 days ago) (1 children)

Also the && operator in sh. I think you can figure out what happened.

I'm guessing something like... Copy file/dir from location A to location B and then delete from A, but the copy had failed (and the delete unfortunately worked fine)?

[–] [email protected] 6 points 6 days ago

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.