ONTAP Discussions

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

koushi

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

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

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

Use slash as path delimiter in stead of backslash.

 

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

koushi

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

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public