mv_list 185 B

12345678910111213
  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. mv -v $i $argv[2]
  9. end