Unix cp argument list too long

后端 未结 6 966
情歌与酒
情歌与酒 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:45

    The -t flag to cp is useful here:

    find ./00012524 -name \*.PDF -print | xargs cp -t ./dummy01

提交回复
热议问题