SOLVED How do I rename a "hidden" folder?

Status
Not open for further replies.

CraigD

Patron
Joined
Mar 8, 2016
Messages
343
Some of my folders/directories had names like ...folder1 and have many sub directories within the folders

When I copied them to freeNAS they "disappeared" and are hidden

I can access them via CIFS shares, but they are not visible, but are searchable or I can type in the folder/directory name

I thought I had done all the study I needed to before migration but I was wrong

What is the exact "rename" command with syntax (pool, dataset, folder) so it can be seen

I know it will be easy for anyone with a freeBSD background but I don't and I didn't even think about this problem at all

Thanks in advance
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
What is the exact "rename" command with syntax (pool, dataset, folder) so it can be seen

In a shell:
Code:
cd <parent-of-folder-to-rename>
rename <old-name> <new-name>


https://www.freebsd.org/cgi/man.cgi....3-RELEASE+and+Ports&arch=default&format=html

The argument of the first command depends on your configuration and/or folder structure, most possibly it's something like
Code:
cd /mnt/<name-of-your-pool>

or
Code:
cd /mnt/<name-of-your-pool>/<name-of-parent-folder>


You are also free to let Samba not to hide file and folder names beginning with a dot if you like ("Show Hidden Files")
http://doc.freenas.org/9.10/freenas_sharing.html#windows-cifs-shares
 

CraigD

Patron
Joined
Mar 8, 2016
Messages
343
It worked

Thank you
 
Status
Not open for further replies.
Top