Dear all,How do I prevent the hidden files from appearing in my directories and files? TQvm!Best regards,Isobel FrenchAcademic Coordinator and Research OfficerDivision of NeurosurgeryDepartment of SurgeryFaculty of MedicineUniversity of Malaya016-793760503-79493138On Tue, Jul 22, 2014 at 10:27 AM, Isobel French <[log in to unmask]> wrote:Dear all,Tq so much for your advice!!
On Friday, July 18, 2014, Matthew Webster <[log in to unmask]> wrote:
Dear Isobel,Although the command listed below is in itself fine, it should be noted that running _any_ command on the root filesystem as superuser is potentially extremely dangerous and should be discouraged for non-essential purposes!Kind RegardsMatthewDear Isobel,
.DS_Store is short for "Desktop Services Store" in Mac OS. If you want to delete them, just open "Terminal" (in the Applications/Utilities), and then type in"sudo find / -name “.DS_Store” -depth -exec rm {} \;", next input your administrator password, finally all similar kinds of files effaced. Have fun!Best,Kai
____________________
Kai Zhang
PhD student
Cluster Languages of Emotion
Free University of Berlin
Thielallee 38, 14195 Berlin
Mobile:+49(0)17644403051
E-mail:[log in to unmask]
____________________
Kai Zhang
PhD student
Cluster Languages of Emotion
Free University of Berlin
Thielallee 38, 14195 Berlin, Germany
Mobile:+49(0)17644403051
E-mail: [log in to unmask]2014-07-18 11:03 GMT+02:00 Isobel French <[log in to unmask]>:
Dear all,I was going onto the basic unix tutorial and was playing around with emcas. Before doing that I created a directory named 'Belle" so that i could play around with emacs. However when I tried removing the directory this i the response I had:[neuros-iMac-2:~] neuro% cd Belle[neuros-iMac-2:~/Belle] neuro% ls[neuros-iMac-2:~/Belle] neuro% emacs[neuros-iMac-2:~/Belle] neuro% cd ..[neuros-iMac-2:~] neuro% rmdir Belle[neuros-iMac-2:~] neuro% mkdir Belle[neuros-iMac-2:~] neuro% cd Belle[neuros-iMac-2:~/Belle] neuro% emacs Belle[neuros-iMac-2:~/Belle] neuro% emacs Belle[neuros-iMac-2:~/Belle] neuro% rmdir Bellermdir: Belle: No such file or directory[neuros-iMac-2:~/Belle] neuro% cd ..[neuros-iMac-2:~] neuro% rmdir Bellermdir: Belle: Directory not empty[neuros-iMac-2:~] neuro% cd Belle[neuros-iMac-2:~/Belle] neuro% ls#Belle# #ITF#[neuros-iMac-2:~/Belle] neuro% rmdir ITFrmdir: ITF: No such file or directory[neuros-iMac-2:~/Belle] neuro% cd ..[neuros-iMac-2:~] neuro% rmdir Bellermdir: Belle: Directory not empty[neuros-iMac-2:~] neuro% rmdir Bellermdir: Belle: Directory not empty[neuros-iMac-2:~] neuro% rmdir Bellermdir: Belle: Directory not empty[neuros-iMac-2:~] neuro% cd Belle[neuros-iMac-2:~/Belle] neuro% ls#Belle# #ITF#[neuros-iMac-2:~/Belle] neuro% ls -latotal 8-rw-r--r-- 1 neuro staff 0 Jul 18 16:37 #Belle#-rw-r--r-- 1 neuro staff 28 Jul 18 16:43 #ITF#drwxr-xr-x 4 neuro staff 136 Jul 18 16:52 .drwxrw-r--+ 56 neuro staff 1904 Jul 18 16:02 ..[neuros-iMac-2:~/Belle] neuro% rmdir #ITF#rmdir: #ITF#: Not a directory[neuros-iMac-2:~/Belle] neuro%There is a hidden file in it as well name '.DS_Store"Can somebody let me know what I have done and how do I rectify it? Also, how will I be able to remove the directory 'Belle' completely? Thanks!!Best regards,
Isobel FrenchAcademic Coordinator and Research OfficerDivision of NeurosurgeryDepartment of SurgeryFaculty of MedicineUniversity of Malaya016-7937605
--Best regards,
Isobel FrenchAcademic Coordinator and Research OfficerDivision of NeurosurgeryDepartment of SurgeryFaculty of MedicineUniversity of Malaya016-793760503-79493138