this post was submitted on 05 Nov 2025
135 points (96.6% liked)

Linux

59667 readers
582 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 6 years ago
MODERATORS
 

So just to be clear I went with a very lazy move to linux from windows. I was not looking to use my day to day in a unixy type way and wanted something that I can install and go without much muss or fuss. So I went with zorin and yeah I have dropped to the command line for some apt installs or such but bascially it was only as needed. Very minimal. Anyway today Im messing with folders and files and suddenly it hit me. Im on linux I can do a lot of this easier with the command line. I know its stupid but my day to day sorta has a mouse brain guie mode and I sorta forget how much easier it is to do some stuff using syntax. So going forward im going to be bringing up the command line to do the things that are quicker.

EDITED - guys I have used command line for years. before there even was a gui. Im trying to say I grew out of the habit but using linux at home is getting me back into it.

you are viewing a single comment's thread
view the rest of the comments
[–] ArcaneSlime@lemmy.dbzer0.com 4 points 2 weeks ago* (last edited 2 weeks ago)

I find sometimes the gui takes a while to manipulate say 300 folders. Like if I want to move all the mp4 files from a folder structure into another directory but leave everything else you can use something like

find /path/to/piracy/directory/ -name '*.mp4' -exec cp -r {} /path/to/piracy/storage/ \;

And it'll send em on over.

And I didn't remember that command, I had it in a script, so to find it to post here I just typed:

cat ~/Documents/scripts/scriptname/

And hit enter, and it gave me the info in the file. Tbh it was even easier than that, with tab completion I just had to type:

cat Doc[tab]/sc[tab]/sc[tab]

But back to the piracy, then to delete everything left over from that first script (like .nfo files) just

cd ~/piracy/directory/
rm -r *
exit

And will remove everything instantly.

To make it easier you can make a script with the first command, even chain it with the same for avi etc, and you could probably have it auto clean the source directory afterwards, but I like to do that manually. You can also (in most piracy programs) tell it to run a script on complete, so you could have that all automated by that process (if you don't store them in an external drive like me.) And you can get way fancier with it too, I'm very much still learning, there's way more that can be done pretty easily. I do still use the GUI sometimes too though and for some stuff it is easier, it's definitely not an all or nothing thing, both is better!

Also I'm totally not a pirate that was just an example...cough cough.