Subscribe
Accepted Solution

How to access the folder which contains apostrophe in name using 'ls' ( diag mode)

[ Edited ]

Hi All,

 

Can anyone please let me know .. How to access folders which contains apostrophe(') in it.

 

Overview : -- Im trying to access one of the folder ( ex :- Koushik's book ) using ls (diag mode).

 

Error : --- ls '"\vol\testvol\testqtree\Koushik's book"'

 

Error  quote inside

 

I need to restore one of the folder from snapshots so i cant rename the folder as well as it is snapshot.

 

Re: How to access the folder which contains apostrophe in name using 'ls' ( diag mode)

can you try to use "file explorer"(if cifs) with the "~" to get into the snapshot and copy the data out? or "." from nfs.

below kb should help

https://kb.netapp.com/support/index?page=content&id=1010422

 

 

Cannot find the answer you need?  No need to open a support case - just CHAT and we’ll handle it for you.

Re: How to access the folder which contains apostrophe in name using 'ls' ( diag mode)

Use slash as path delimiter in stead of backslash.

 

fas01*> ls "/vol/vol1/qtree1/Koushik's book"
.
..
test.txt
fas01*>

Re: How to access the folder which contains apostrophe in name using 'ls' ( diag mode)

Rather than working from rsh . I've did ls from filer in diag mode .It got worked out.