Originally posted by DVDSP
I tried this and basically could see everything in my Home folder, how can I get it to work for items not in that folder and then also rename that file?
Thanks again everyone,
My methods uses the terminal, sorry.
1. Go to the desired folder:
in terminal type
cd
This will automatically take you to your home folder (if you're already there, skip this line
😉)
Enter
cd folder1/folder2/folderx
where folders 1, 2 , x, ... are the path to the desired folder. For example if it's in a folder name "texts" in your Documents folder, the copmmand is
cd Documents/texts/
2. To display all files (hidden ones included), use the list command
ls -a
3. To rename a hiddel file called .file_name use the move command:
mv .file_name file_name
This will in essence remove the period in front of the name, thus making it visible. You can obviously change its name also:
mv .old_name new_name
Hope this is clearly and works for you.
[edit]
This supposes that the file is somewhere within your Home folder (the file is in a folder, this folder in turn being in the Home folder). If the file is somewhere else, you have to start in the root folder and work you way down to the file. To get to root folder use
cd /
Make sure you have sufficient privileges if this is the case!
[/edit]