Advertisement
karamaz0v

Untitled

Jul 21st, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. file=`find ./ -iname '*.tgz'`
  4.  
  5. for i in $file
  6. do
  7.   tar -xvf $i
  8. done
  9.  
  10. a=`find ./ -iname file_a_copiar`
  11.  
  12. for i in $a
  13. do
  14.   cp $a file_a_copiar.XXXX
  15. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement