目录目录未完成会引起警告

问题描述 投票:0回答:1

我跑步时:

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,但我听不懂

macos shell gnu symlink
1个回答
0
投票

也许尝试在stow之前执行此命令:

find folderName -name ".DS_Store" -depth -exec rm -f {} \;

这将删除folderName中的所有.DS_Store文件,这似乎是引起问题的原因。

© www.soinside.com 2019 - 2024. All rights reserved.