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

相关推荐
无意feel20 小时前
MacOS 安装neofetch cmatrix lolcat
macos·数字雨·彩虹特效
KevinShi_BJ21 小时前
MacOS 上安装 Docker 和启动 LangBot
macos
ricky_fan1 天前
(25年12月)claude code报错:might not be available in your country
macos·bash
james bid1 天前
MacBook Pro 2015 上 XUbuntu 24.04 启用 eGPU (GeForce GTX 1080 Ti) 和核显黑屏问题解决
linux·ubuntu·macos·cuda·egpu
私人珍藏库1 天前
[Mac] Mac风扇控制软件 iFan V1.1.1
macos
腾讯云qcloud07551 天前
腾讯位置商业授权iOS 轨迹SDK
macos·ios·cocoa
新手村领路人1 天前
MacOS Tahoe26.1自制定时休眠app
macos
2501_916007471 天前
没有 Mac,如何在 Windows 上架 iOS 应用?一套可落地的工程方案
android·macos·ios·小程序·uni-app·iphone·webview
乐之者v2 天前
mac操作快捷键命令
macos
一步徐龙的浪2 天前
Scholaread Mac版更新后无法用手机验证码登录
macos·scholaread·靠岸学术