% find . -name xp_20.pdf -exec mv {} ~/ ;

本帖於 2023-12-27 12:49:33 時間, 由普通用戶 7grizzly 編輯
回答: How to find and move one file in Linux OSxia232023-12-27 12:24:02

所有跟帖: 

WXC doesn't like the backslash I put in front of the ';' -7grizzly- 給 7grizzly 發送悄悄話 7grizzly 的博客首頁 (0 bytes) () 12/27/2023 postreply 12:50:52

Other than that, the cmd finds any file named xp_20.pdf -7grizzly- 給 7grizzly 發送悄悄話 7grizzly 的博客首頁 (221 bytes) () 12/27/2023 postreply 12:59:13

謝謝,I'll try. -xia23- 給 xia23 發送悄悄話 xia23 的博客首頁 (0 bytes) () 12/27/2023 postreply 13:10:43

請您先登陸,再發跟帖!