trash 186 B

1234567891011121314
  1. #!/bin/csh
  2. if ($#argv != 2) then
  3. echo Usage: cp_list INPUT_LIST OUTPUT_DIR
  4. exit 1
  5. endif
  6. set list_of_files=`cat $argv[1]`
  7. foreach i ($list_of_files)
  8. cp -v $i $argv[2]
  9. end