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

相关推荐
Mac技巧大咖4 小时前
Mac误删文件,废纸篓也清了?Mac时光机器仍可恢复找回
macos·mac误删文件
程序员果子6 小时前
零拷贝:程序性能加速的终极奥秘
linux·运维·nginx·macos·缓存·centos
天庭鸡腿哥6 小时前
macOS的功能,在Windows上也能实现
windows·microsoft·macos·visual studio·everything
weixin_462446237 小时前
macOS 安装 git-lfs
git·macos
摘星编程11 小时前
从云游戏到Mac远程操控:UU远程游戏、办公场景全覆盖
游戏·macos·uu远程
tobebetter95271 天前
How to use homebrew on mac
macos·homebrew
信奥胡老师2 天前
苹果电脑(mac系统)安装vscode与配置c++环境,并可以使用万能头文件全流程
c++·ide·vscode·macos·编辑器
记忆偶然2 天前
语音转文本技术方案评估与工具选型指南
ide·macos·xcode
尽兴-2 天前
MacOS 一键清理指定目录下老旧node_modules
macos