如何删除以“结尾”结尾的目录??? [英] How to delete a directory what ends in " ???

查看:108
本文介绍了如何删除以“结尾”结尾的目录???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个讨厌的目录,里面装满了我要删除的内容。


我绝对是新手。它位于运行嵌入式Linux的网络存储设备上。


目录名称以 (一个完整/双引号) - 不要问我是怎么发生的......


当我尝试rm -rf时事情,我得到一个>提示,因为它正在等待关闭报价...


任何提示???

I have a nuisance directory full of stuff that I want to delete.

I am an absolute newbie. It is on a network storage device running embedded linux.

Directory name ends in " (a full/double quote) -- don''t ask me how THAT happened...

when I try to "rm -rf" the thing, I get a > prompt because it is waiting for the close-quote...


Any tips???

推荐答案

实际目录名称是


iTunes Music b"


当我跑步时


rm iTunes *


它返回


rm:无法删除`iTunes Music b'':没有这样的文件或目录



(叹气)
The actual directory name is

iTunes Music b"


When I run

rm iTunes*

it returns

rm: cannot remove `iTunes Music b'': No such file or directory


(sigh)


你可以使用\"作为控制字符,或'''''',即两个单引号内的双重。
You can use \" as a control character, or ''"'', that is, a double inside two single quotes.


谢谢...


所以我试试了


#rm iTunes''''音乐''''''''''


我得到


rm:无法删除`iTunes Music b''':没有这样的文件或目录


???

还有其他任何提示吗?


非常感谢...
Thanks...

so I try

# rm iTunes'' ''Music'' ''b''"''

and I get

rm: cannot remove `iTunes Music b"'': No such file or directory

???

Any other tips?

Many thanks...


这篇关于如何删除以“结尾”结尾的目录???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆