MAC ITEM 解决cd: string not in pwd的问题

今天使用cd 粘贴复制的路径的时候,报了这么一个错.

cd: string not in pwd

复制代码
eistert@192 Library % cd Application Support
cd: string not in pwd: Application
eistert@192 Library % 

让人一脸懵逼.

对比一下,发现中文路径里的空格截断了路径

导致后面的路径就没有办法被包含进去

解决的办法也很简单

加个转义字符 \ 就行了

参考文章

解决cd: string not in pwd的问题

https://blog.csdn.net/guaigle001/article/details/100638679

相关推荐
witton2 小时前
MacOS中在目录或者文件右键菜单中添加“使用VSCode打开”
vscode·macos·文件·目录·服务·automator·右键菜单
山外有山a2 小时前
【实战】M系列芯片Mac本地部署Qwen2.5:Ollama + Open WebUI 全流程与3个关键优化参数
macos
思盛iOS签名上架18 小时前
App苹果签名有什么作用?
macos·ios·cocoa
MartinYeung521 小时前
[论文学习]MAC:多智能体宪章学习
人工智能·学习·macos
greasyfork1 天前
Mac Sketch v2026.3 矢量图设计工具
macos·ui·sketch
无定义_1 天前
萌新联赛(六)
macos·objective-c·cocoa
风安•辛幸1 天前
mac上微信最新v4以上版客户端多开教程,亲测可用
macos·微信
weixin_531670892 天前
Interlude起来:动作动画和文字通知哪个更适合休息提醒?Mac上有没有用桌宠做动作引导的软件?
人工智能·macos·mac·swift
FairGuard手游加固2 天前
iOS 游戏加固技术解析:代码混淆、资源加密、内存保护与重签名检测
安全·游戏·macos·unity·ios·objective-c
思盛iOS签名上架2 天前
iOS企业签名原理是什么?
macos·ios·cocoa