Unix cp argument list too long

后端 未结 6 968
情歌与酒
情歌与酒 2021-02-19 04:37

I am using AIX.

When I try to copy all the file in a folder to another folder with the following command:

cp ./00012524/*.PDF ./dummy01

The

6条回答
  •  别那么骄傲
    2021-02-19 04:59

    Use find command in *nix:

    find ./00012524 -type f -name "*.PDF" -exec cp {} ./dummy01/ \; -print
    

提交回复
热议问题