Advertisement
Ankirama

trade_all

Jun 7th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [[ $# -ne 4 ]]; then
  4.   echo "Usage: ./exec_all files_dir moulinette trade_prog money"
  5.   exit
  6. fi
  7.  
  8. CMD=$(echo "test")
  9.  
  10. #find $1 -name "*" -type f -exec echo {} \; -exec ./$2 -p $3 -f {} -m $4 \;
  11. find $1 -name "*" -type f -exec sh -c "echo {}; ./$2 -p $3 -f {} -m $4 | grep PROFIT" \;
  12.  
  13. #LS=$(ls -1)
  14. #echo $LS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement