ONTAP Discussions

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

koushi
3,544 Views

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.

 

1 ACCEPTED SOLUTION

koushi
3,377 Views

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

View solution in original post

3 REPLIES 3

Jeff_Yao
3,488 Views

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

 

 

YIshikawa
3,483 Views

Use slash as path delimiter in stead of backslash.

 

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

koushi
3,378 Views

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

Public