我遇到了以下情況。
find
找到一個特定的文件:
$> find ./ -name "16_-_*.mp3"
... # other matches
./Music.mp3/Let's Wrestle/In The Court Of The Wrestling Let's/16_-_In The Court Of The Wrestling Let's.mp3
... # other matches
但它沒有顯示在下面ls
ls -a ./Music.mp3/Let\'s\ Wrestle/Let\'s\ Wrestle/
. .. 01_Rain Ruins Revolution.mp3 02_I Am Fond of You.mp3 03_Codeine and Marshmallows.mp3 08_David You Know.mp3 cover.jpg
如何修復此問題以使文件返回其所屬位置?
答案1
您的find
命令顯示以下文件:
./Music.mp3/Let's Wrestle/In The Court Of The Wrestling Let's/
當您的ls
命令列出以下文件:
./Music.mp3/Let's Wrestle/
基本上你(1)目錄太高了ls
。