Subj : CLI Linux help, directories and rm -r.. To : All From : paulie420 Date : Wed Dec 01 2021 14:12:07 OK; I got into a small pickle. I set a new file area, in Mystic, to '~/files/userromadds'. For some reason, what Mystic did in this situation is add a sub-directory in my ~/mystic (main bbs) directory named '~'. Inside of that /home/pi/mystic/'~' directory was the /files/userromadds folder, and it contained all the files I had added to that file area... Ok, first things first; I went in and changes the file area to the correct /home/pi/files/userromadds, and moved THAT /userromadds sib-directory on over to my /home/pi/files where it should have been the whole time... OK. Well, now I want to erase that '~' directory from my ~/mystic folder. You can see the issue... if I just navigatge to ~/mystic and type: rm -r ~ , poof goes my system. I think if I type: rm -r '~' , poof goes my system. The following is copied right from my terminal: pi@bbs:~ $ cd '/home/pi/mystic/~' pi@bbs:~/mystic/~ $ pwd /home/pi/mystic/~ pi@bbs:~/mystic/~ $ So, I *think* a safe command to enter is: rm -r '/home/pi/mystic/~' The result that I want is to simply delete the /home/pi/mystic/'~' folder. (It shows up in quotes like that, the following is a snippet just for more info: pi@bbs:~/mystic $ ls -all total 6548 drwxr-xr-x 35 pi pi 4096 Nov 4 04:08 . drwxr-xr-x 45 pi pi 4096 Dec 1 13:58 .. drwxr-xr-x 2 pi pi 4096 Dec 1 13:55 '~' -rwxr-xr-x 1 pi pi 26066 Jan 1 2021 ad_test.ini -rwxr-xr-x 1 pi pi 4156 Oct 17 17:02 advert.ini -rw-r--r-- 1 pi pi 7984 Aug 5 2020 ans2mbbs.exe drwxr-xr-x 5 pi pi 4096 Apr 22 2021 ansi (cut) ---------- Anyway, sorry for the long post - but can anyone help me out? I found this while doing a backup, and having my tar end up trying to backup my ENTIRE drive because of the ~/ naming BS... so I need to both delete that directory in my Mystic directory and my mystic backup directory... ANYWAY, all boils down to: rm -r '/home/pi/mystic/~' Is that the correct syntax to ONLY erase /home/pi/mystic/~ and NOT ~/? Thanks rockstars. |07p|15AULIE|1142|07o |08......... --- Mystic BBS v1.12 A47 2021/10/25 (Raspberry Pi/32) * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129) .