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

相关推荐
xiaowang1234shs11 小时前
怪兽轻断食技术深度测评:从断食计时引擎到AI识别算法的工程实践解析
数据库·人工智能·算法·macos·机器学习·p2p·visual studio
yAdrian14 小时前
macOS launchd CPU 占用过高问题排查记录
macos
代码的小搬运工16 小时前
【iOS】3G-Share仿写总结
macos·ios·cocoa
2501_9160074718 小时前
iOS和macOS应用程序性能分析和优化工具使用综合指南
android·macos·ios·小程序·uni-app·iphone·webview
寒水馨2 天前
macOS下载、安装openclaw-v2026.7.1(附安装包OpenClaw-2026.7.1.dmg)
macos·大模型·github·开源软件·ai助手·openclaw·gpt-5.6
白玉cfc2 天前
【iOS】MRC和ARC
macos·ios·cocoa
飞雪金灵2 天前
mac电脑 Maven下载安装和配置环境变量
macos·maven·maven下载安装·mac电脑环境
雨声不在2 天前
macos 12使用docker
macos·docker·容器
一叶龙洲2 天前
ubuntu26.04 xfce美化成mac
服务器·ubuntu·macos
李小白杂货铺2 天前
Oh My Zsh 简记
macos·macbook·zsh·主题·插件·oh my zsh·omz