this post was submitted on 23 Sep 2024
20 points (100.0% liked)
Linux
48157 readers
619 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
mv?
Honestly, just prefix or suffix the filename. I've been cataloging all my stuff like that for the past 30 years - including, for things like music, the track number, which the filesystem and every portable device under the sun will naturally sort and play in the correct order. Finding things can be done with regular filesystem tools like, well, find. And it will work exactly the same way in all OSes that have a concept of filesystem.
That's a really good idea, I'll probably do that. With that method, what's the easiest way to prefix a bunch of file with e.g. "human_"? Put them all in the same folder, and then write a script so every file in that folder gets that prefix?
if they're all already hard linked into the human folder, why rename them
It's whatever works for you.
Me, depending on the type of file, I either have a more or less full description (so I can find things with find and English words) and/or some sort of short coding system that makes sense for a given type of file. After using the same codes for a long time, I know exactly what they mean.
For example, I would name an ebook "823-sf-rah-The_moon_is_a_harsh_mistress.epub": that way I can look it up by DDC number (823), genre (SF), author if they're well known (Robert A. Heinlein) and of course the title of the book, or any combination thereof. That's my own system for ebooks.
For music, I make one directory per album or record named artist-comma-name (e.g. "Al_Di_Meola,Orange_and_Blue") and the individual tracks inside as e.g. "track01-Paradisio.mp3", "track02-Chilean_Pipe_Song.mp3"... The reason I only do one directory deep per album instead of, say, author/album/tracks is because most MP3 players back in the days, and most music apps today, understand that way of organizing music. That's my own system for music.
Etc etc. Just make up your own system that works for you. Just stick to characters that are acceptable in all OSes' filesystems so you can move your stuff around without problems, and avoid spaces so it's not a pain to type.