[00:05] calpoop: can you please try and fix your connection [00:07] calpoop: can you please try and fix your connection [00:35] yea that's my bad, thelounge is being unreliable for some reason, i'll use a different client [00:37] thanks [18:32] Can anyone tell me why this command to clean up temp files deleted everything I had in **/home** on Ubuntu Studio?... (full message at ) [18:32] What do you think, went wrong? [18:34] 9nx: Where did you get that command? Running random commands you find on the internet is always dangerous. [18:35] Eickmeyer[m]: thats the lesson i learned the hard way! [18:35] let me find it for you after dinner! [18:35] that command should only touch /tmp/ .. [18:55] > <@9nx:matrix.org> Can anyone tell me why this command to clean up temp files deleted everything I had in **/home** on Ubuntu Studio?... (full message at ) [18:55] Despite that, though, deleting everything in your temp file seems like a really bad idea too. [18:55] s/file/folder/ [18:56] reboot should regenerate tham, AFAIK. [18:56] but it does not touch /home/ [18:59] Yeah but what if something's actually using one of those files? Theoretically an app could create a temp file, store stuff, close it, then try to re-open it later. [19:01] Maybe. so his claim is invalid. [19:22] oerheks: Not necessarily, if something symlinked your home dir into /tmp for reasons, and then you did that, kaPOW! [19:22] (I one time symlinked my projects directory to somewhere and then used a special "permanent deletion" program I had written to try and erase the symlink. Didn't know that was doing to delete all the contents. Just about lost everything.) [19:27] As far as I know the default behaviour of the find command is not to follow symbolic links [19:56] in fact, the man page for find reccomend to test (with -print) before adding the -delete "to avoid surprising results". Good thing to have backups too! [20:46] > <@9nx:matrix.org> thats the lesson i learned the hard way! [20:46] > let me find it for you after dinner! [20:46] Eickmeyer: from here: [20:46] https://fedingo.com/how-to-clear-temp-files-in-ubuntu/ [20:47] > <@9nx:matrix.org> Eickmeyer: from here: [20:47] https://fedingo.com/how-to-clear-temp-files-in-ubuntu/ [20:47] Right, but if you scroll up, as others have commented, there had to have been another reason why that happened. It couldn't have done that on its own. [20:48] "Despite that, though, deleting..." <- sure. [20:48] it's just the scariest shit i've ever experienced tbh! [20:48] it literally wiped everything inside home, where i have all my files and software folder with extra software. [20:48] I ended with older files and lost some stuff. but i learned the lesson! [20:48] "but it does not touch /home/" <- no. after reboot **all gone** [20:48] I've never cleaned my tmp folder. It's tmpfs which is mostly mounted in RAM. [20:49] "oerheks: Not necessarily, if..." <- i think that's exactly what happened! i was intalled software temporary there and then decided to clear the temp folder and ran the command and kaPOW! [20:50] Eickmeyer[m]: now i have kubuntu running and i wont even run the command again. [20:50] if i delete something that persists it will be manually... [20:50] i don't think it's necessary to touch it at all. [20:51] Eickmeyer: does ubuntu need cleaning stuff around like windows does. Or not really? I never touch it but my kubuntu is running for 3 months now. very stable really! [20:51] Depends on what you mean by "cleaning". [20:52] Ubuntu and its flavors for the most part don't need the internal system cleaned up ala Disk Cleanup - the package manager is smart enough to keep things from getting too out of hand. [20:52] Your home folder, on the other hand, will always need cleaned no matter what OS you use since people have a bad habit of leaving stuff they don't need all over the place. [20:52] M9nx[m]: Not really. Different operating systems, different file systems. [20:52] As for your temp files, those probably don't need cleaned either. [20:55] arraybolt3: my home folder could not be neater! it's absolutely perfect! [20:55] lol and oy vei [20:56] Eickmeyer[m]: yes but i've been on linux for 8 months now. still a new guy! [20:56] kubuntu for life i can tell you! [20:57] > <@9nx:matrix.org> yes but i've been on linux for 8 months now. still a new guy! [20:57] kubuntu for life i can tell you! [20:57] So, are you using Ubuntu Studio or Kubuntu? [20:59] > <@eickmeyer:matrix.org> kubuntu for life i can tell you!... (full message at ) [20:59] Strange, considering it's using the exact same packages from the exact same source. [21:04] Eickmeyer[m]: there are just some very specific things with studio. I can't tell what from top of my head now! Otherwise they are the same i guess...... (full message at ) [21:05] 9nx Well, it's not like we're competing. Kubuntu and Ubuntu Studio are both Ubuntu, just different experiences. Use what works best for you. Just know that unless your support issue is Ubuntu Studio-specific, you'll need support from #kubuntu:libera.chat or #ubuntu:libera.chat , not here. [21:06] !ubuntustudio-installer | 9nx [21:06] 9nx: Ubuntu Studio Installer is an app that can be used to add Ubuntu Studio's benefits to an existing Ubuntu (or official flavor) installation, and/or add the !ubuntustudio-backports PPA. For more info, see https://ubuntustudio.org/ubuntu-studio-installer/ [21:11] "9nx Well, it's not like we're..." <- 100% - I really came here from deep fear of the command i run and cleaning /tmp files. I tweaked studio a lot and then wipped out everything. It is serious!... (full message at )