ehime

Untitled

Oct 25th, 2013
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # test if files exists and run
  2. if [ "$(ls -A ${base_dir}/schedule)" ]; then
  3. ls -A ${base_dir}/schedule | parallel -j20 ./warc.sh {/}\; rm {}
  4. fi
  5.  
  6. Output:
  7. Cannot be run without input...
  8. File does not exist, terminating....
  9.  
  10. ./warc.sh: line 52: declare: `7616-8975-DATA.NFO': not a valid identifier
  11. rm: cannot remove ‘7616-8975-data.nfo’: No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment