Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. find /home/alotoffolders -type f -name "*.mp4" | grep some_greps > ~/tests/find_smth
  2.  
  3. filename=$(cut -d/ -f11 ~/tests/find_smth)
  4.  
  5. for i in `cat ~/tests/find_smth`; do ./other_script -input $i -output /home/folder1/folder2/$filename; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement