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

相关推荐
黑果魏叔7 小时前
手滑点错更新也不怕!超详细 Mac 系统更新屏蔽指南(附安全恢复方案)
安全·macos
yuyousheng20 小时前
mac 电脑复制粘贴剪切逻辑
macos
旭日跑马踏云飞1 天前
【macOS】相关
macos
lichao8904272 天前
MacOS 上部署 OpenClaw 的全界面操作方案
macos·docker·容器
美酒没故事°2 天前
mac电脑安装OpenClaw步骤
人工智能·macos
开发者导航4 天前
【开发者导航】多功能生成模型开发工具:Diffusers 详细介绍
人工智能·python·学习·macos·信息可视化
未名编程5 天前
Linux / macOS / Windows 一条命令安装 Node.js + npm(极限一行版大全)
linux·macos·node.js
was1725 天前
使用 Mole 进行 macOS 深度清理与系统优化
macos·系统清理·cli 工具