You are not logged in.
I have accidentally removed home folder stuff (shame on me), and i have recovered data,
but now I don't have sub-directories like Downloads, Music ...
How to recreate those? I can't find anything on this topic for arch.
I can make them using mkdir but that won't for example in future place Chromium downlaods in it (at least i think so).
Thanks!
EDIT: This is file list of /etc/skel
.bash_logout .bash_profile .bashrc .config .xscreensaver
Last edited by mirko28 (2015-03-18 20:03:23)
Offline
You can just create them with mkdir...you can also choose where to download files in Chromium...
But, you should look into this as well: https://www.archlinux.org/packages/extr … user-dirs/
Last edited by nullified (2015-03-18 18:00:56)
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
Offline
I can make them using mkdir but that won't for example in future place Chromium downlaods in it (at least i think so).
Why not? I think you can define where do the downloads go anyway.
What command exactly did you run to remove all this?
Offline
@nullified and @Radioactiveman
Thanks a lot! I needed to create them manually and change ~/.config/user-dirs.dirs variables to those folders.
@karol
I used sass --watch to compile my .scss files, and sass created ~ folder in my project (I have no idea why). After that i was trying to delete that damned folder using rm -r ~ and that deleted my real ~ folder. I was in project folder i don't know why it deleted home.
Thanks guys you saved me, I was about to reinstall arch !
Last edited by mirko28 (2015-03-18 20:06:01)
Offline
Use
alias rm-"rm -i"
will prompt you for each item with 'are you sure you want to remove foobar'. 'rm -rf' will just nuke w/o prompting.
Offline
Use
alias rm-"rm -i"
will prompt you for each item with 'are you sure you want to remove foobar'. 'rm -rf' will just nuke w/o prompting.
Useful tip, thanks! I will make backups in future, i needed adventure like this to take something serious.
Offline
If it's all fixed now, please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline