joeldebruijn

joined 2 years ago
[โ€“] joeldebruijn@lemmy.ml 5 points 5 days ago (1 children)

Luckily this was about Snap.

[โ€“] joeldebruijn@lemmy.ml 1 points 1 month ago

That .... makes a lot of sense, thanks ๐Ÿ™๐Ÿ™

[โ€“] joeldebruijn@lemmy.ml 2 points 1 month ago

Oh never thought about using ls to "test" things, thnx!

[โ€“] joeldebruijn@lemmy.ml 1 points 1 month ago

Yeah agree, its a work provided laptop, they allowed local admin etc but require Windows (at least that is) so just glad they gave me a HP laptop with 500GB SSD and for me certain freedom to configure dual boot etc

[โ€“] joeldebruijn@lemmy.ml 11 points 1 month ago (2 children)

Got chills down my spine initially but was a "good" scare .... the one which makes me carefull next time before any real damage is done. ๐Ÿ™ˆ๐Ÿ‘

[โ€“] joeldebruijn@lemmy.ml 2 points 1 month ago (2 children)

Strange thing is, instead of moving folders (which isnt possible without root anyway) it looked like some of them got copied instead. Compared some folders from /boot/grub with the dump in my homefolder and they were the same files (number and names etc).

[โ€“] joeldebruijn@lemmy.ml 4 points 1 month ago

I took a deep breath (was not being root, how bad could it be?) and rebooted. Luckily everything seemed fine.

Grub letting me choose between Debian and Win11 (its a laptop from my employer) and both booted if choosen. Thanks for all the advice.

[โ€“] joeldebruijn@lemmy.ml 4 points 1 month ago* (last edited 1 month ago) (6 children)

If the actual command was this .... mv /*/*/* ./ would moving stuff out of /boot or /dev folders make more sense?

[โ€“] joeldebruijn@lemmy.ml 1 points 1 month ago

Ah, keen eye, corrected the title and body text to match the screenshot. (From terminal history so I think thats what I actually ran)

[โ€“] joeldebruijn@lemmy.ml 2 points 1 month ago

Oh that worked, thnx!!

[โ€“] joeldebruijn@lemmy.ml 2 points 1 month ago (2 children)

I only have a backup of my own personal files, not of the whole system. So my question about impact is about not having to do a fresh install.

Also I have dual boot and grub etc do scare me. ๐Ÿ˜

I didnt work as root by the way ...

[โ€“] joeldebruijn@lemmy.ml 2 points 1 month ago (3 children)

Ouch ... feel so stupid.

32
submitted 1 month ago* (last edited 1 month ago) by joeldebruijn@lemmy.ml to c/linux@lemmy.ml
 

Background:

I think I messed up ... Wanted to get a lot of files out of a nested folderstructure 3 levels deep and used mv /*/*/* ./ somewhere deep in my personal folders. I got a lot of errors and quick as I could stopped it. Now that folder is is messed up with a lot of stuff (see below) which I dont know the origin of. The good news: I have fairly recent backups

Questions:

  • Could they be from subdirectories in my home folder?
  • Could they be from subdirectories outside my home folder? Especially grubenv caught my eye.
  • Could it be potentially dangerous to reboot? I leave my PC on untill I know more.
  • Would it be possible to reverse the moving in some way, to put them back where they belong, even manually?

Any help greatly appreciated.

Files:

Sorry for the long list

0 1 10 10:1 10:125 10:126 10:127 10:130 10:183 10:224 10:228 10:229 10:231 ... 116:8 116:9 ... 13:81 ... 8 81:0 81:1 81:2 81:3 9 arch_status attr autogroup by-diskseq by-id by-label by-partlabel by-partuuid by-path by-uuid cgroup cmdline comm coredump_filter cpu_resctrl_groups cpuset fd fdinfo fonts gid_map grubenv limits list.txt locale loginuid map_files maps mountinfo mounts net ns numa_maps nvme0n1p8_crypt oom_adj oom_score oom_score_adj projid_map sched schedstat sessionid setgroups smaps smaps_rollup stat statm status task timens_offsets timers timerslack_ns uid_map unicode.pf2 usb wchan x86_64-efi

58
submitted 1 year ago* (last edited 1 year ago) by joeldebruijn@lemmy.ml to c/linux@lemmy.ml
 

My main question is about /run/user/1000:

  • Should I avoid touching it?
  • Could I delete it?
  • Is there something wrong with it?

Background: I'm fairly new to Linux and just getting used to it.

I use fsearch to quickly find files (because my filenaming convention helps me to get nearly everything in mere seconds). Yesterday I decided to let it index from root and lower instead of just my home folder.

Then I got a lot of duplicate files. For example in subfolders relating to my mp3 player I even discovered my whole NextCloud 'drive' is there again: /run/user/1000/doc/by-app/org.strawberrymusicplayer.strawberry/51b78f5c/N

Searching: Looking for answers I read these, but couldnt make sense of it.

Puzzled:

  • Is this folder some RAM drive so my disk doesnt show anything strange? Because this folder doesnt even show up at the root level.
  • Are these even real? Because the size of it (aprox 370 GB) is even bigger then my disksize (screenshot).

Any tips about course of (in)action appreciated.

view more: next โ€บ