2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 510
/ 3 Years ago, wed, may 5, 2021, 9:19:01
I am trying to learn about the find
command. I would like to understand the meaning of this warning:
ankit@battlestar:/home/mount_150/studies$ find -iname "*.pdf" -exec cp -ar {} lcommands/ ;
cp: `./lcommands/june.pdf' and `lcommands/june.pdf' are the same file
cp: `./lcommands/cde.pdf' and `lcommands/cde.pdf' are the same file
cp: `./lcommands/abc.pdf' and `lcommands/abc.pdf' are the same file
ankit@battlestar:/home/mount_150/studies$ ls -l lcommands/
You can see here the procedure I followed and the directory structure:
More From » command-line