ls -a

719 points · 36 comments · view on lemmy.world

36 Comments

mikazuki@lemmy.world · 68 pts · 267d (5 replies)

Every tool author should use https://xdgbasedirectoryspecification.com/

somerandomperson@lemmy.dbzer0.com · 16 pts · 266d (1 reply)

For applications that do not respect this, the closest you can do is symlinks.

mikazuki@lemmy.world · 6 pts · 266d

At the bottom of that page the author lists some tools that can fix apps that don’t respect this.

libetc - uses a .so to reroute syscalls that try to access files in $HOME, but this hasn’t been updated since 2018 boxxy - calls the tool in a Linux namespace with bindmounts to reroute files. This seems maintained but you need to alias commands like alias aws="boxxy aws"

Postimo@lemmy.zip · 9 pts · 266d

on threat of imprisonment.

finished that for you.

Khanzarate@lemmy.world · 8 pts · 266d

Didn't know this, this is good to know

pageflight@lemmy.world · 3 pts · 266d

That does sound nice.

In the mean time, I usually just set up a "real" home directory in /home/$USER/$USER/ which is what gets backed up, and leave the original one for cruft.

Zachariah@lemmy.world · 37 pts · 267d (4 replies)

now do ls -la

everett@lemmy.ml · 42 pts · 267d

Now every object is stacked in an extremely tall tower, but at least they're alphabetized.

BCsven@lemmy.ca · 7 pts · 266d (1 reply)

ls -laZ if you want to read the "do not touch my stuff" labels

prettybunnys@piefed.social · 4 pts · 266d

Z the sacred and most important of flags

db2@lemmy.world · 5 pts · 266d
ls -laskh --color
sorter_plainview@lemmy.today · 33 pts · 267d (9 replies)

This reminds me that my Downloads folder is like the attic. I don't fear ls -a in ~, but I fear what I will find if I wander into Downloads unprepared.

eager_eagle@lemmy.world · 22 pts · 267d (8 replies)

I constantly clear downloads, idk how people can stand the clutter every time they want to find something

Khanzarate@lemmy.world · 33 pts · 266d

Sort by date and at least vaguely remember when I downloaded it.

Its like archaeology

prole@lemmy.blahaj.zone · 7 pts · 266d

Dolphin has a built in filter bar that you can enable, so I just start typing the thing. I know we're talking command line, but I mostly interact with files through Dolphin

chrash0@lemmy.world · 4 pts · 266d (1 reply)

there are some directories in my machines i consider ephemeral. Downloads and ~/temp should be able to be deleted with no real consequences

wischi@programming.dev · 3 pts · 266d (3 replies)

I have a script that sorts old downloads into folders by year and month. I'm afraid to open the folders but also don't want to delete them 🤣

moonshadow@slrpnk.net · 1 pts · 222d

Feel like sharing?

eager_eagle@lemmy.world · 1 pts · 266d (1 reply)

nuke it, you (probably) won't miss it

wischi@programming.dev · 1 pts · 266d

I probably would miss it because I look for stuff sometimes (with everything search for example) and am shocked to still find interesting stuff there I forgot to sort in.

I thought about updating my script to look up the hashes of files on virus total and if it's some well know file (many uploads/checks) it's probably something I could re-download easily and can be safely nuked.

OpenStars@piefed.social · 8 pts · 267d

I feel so seen, so... so... touched (by so very many processes).

doingthestuff@lemy.lol · 5 pts · 266d (1 reply)

I'm all for an LS swap. Let's LS swap the world!

Psythik@lemmy.world · 2 pts · 266d

Fuck yeah! I just wish the install kits didn't cost as much as the engine itself!

jaybone@lemmy.zip · 3 pts · 266d (4 replies)

Is that dresser sitting on some kind of raised platform? I don’t understand what is going on in that back corner.

nforminvasion@lemmy.world · 1 pts · 266d (1 reply)

No it's just an optical illusion with the rug ending and the dark wood floor reappearing

jaybone@lemmy.zip · 2 pts · 266d

The rug is either folded up to run against the wall, or there is some kind of triangular object there.

MrShankles@reddthat.com · 1 pts · 266d (1 reply)

It's the rug and lighting, but I see what your saying. It makes like a depth perception illusion. It is flat though

Edit: there's also some kind of triangular, concave? object next to the dresser in the first photo. It tripped me up without even realizing it at first

jaybone@lemmy.zip · 2 pts · 266d

Oh shit, triangular object. I see it now thank you. That was driving me nuts.

MTK@lemmy.world · 2 pts · 266d

This is just the ADHD maneuver in picture form.

somerandomperson@lemmy.dbzer0.com · 2 pts · 266d (5 replies)

ls -A*
why see the . and .. directories?

OR3X@lemmy.world · 10 pts · 266d (3 replies)

I want to be sure they haven't gone missing!

somerandomperson@lemmy.dbzer0.com · -1 pts · 266d (2 replies)

They literally cannot.
Unless it's the / directory. Even then, . is still standing.

OR3X@lemmy.world · 6 pts · 266d

treesoid@lemmy.world · 2 pts · 266d

Just tested it (GNU coreutils 9.8 on nixos, root on zfs) and .. still exists in /, but seems to be the same as .

simbico@lemmy.zip · 2 pts · 266d

Gotta know your roots