【发布时间】:2020-04-18 21:06:31
【问题描述】:
当我跑步时:
stow -D folderName
我明白了:
WARNING! unstowing folderName would cause conflicts:
* existing target is neither a link nor a directory: .DS_Store
All operations aborted.
我该如何解决?我找到了this tip,但是没看懂
【问题讨论】:
当我跑步时:
stow -D folderName
我明白了:
WARNING! unstowing folderName would cause conflicts:
* existing target is neither a link nor a directory: .DS_Store
All operations aborted.
我该如何解决?我找到了this tip,但是没看懂
【问题讨论】:
也许尝试在stow之前执行此命令:
find folderName -name ".DS_Store" -depth -exec rm -f {} \;
这将删除 folderName 中的所有 .DS_Store 文件,这似乎是导致问题的原因。
【讨论】:
.DS_Store 文件的唯一方法是在终端中使用带有 ls 的 -a 选项(例如 ls -a)。