-2

I want to move 1000000 files from a sources folder to destination folder using the this command:

find /pacs/ccn15/ccn15_input/ccn1/(sources path) -name 'CDRCCN*' \
 | head -100 |xargs -I mv '{}' /pacs/ccn10/ccn10_input/ccn1/(destination path)

it is working fine but I'm not able to find out here what is the meaning of '{}'.

Mat
  • 202,337
  • 40
  • 393
  • 406
user1363308
  • 938
  • 4
  • 14
  • 33
  • Belongs on http://superuser.com, but see the man page for `find`: http://linux.die.net/man/1/find – Paul R Apr 30 '12 at 11:24

1 Answers1

0

{} is a kind of placeholder for the output text we get from the previous command in the pipe. See this page which explains it.

mtk
  • 13,221
  • 16
  • 72
  • 112