Guest User

Untitled

a guest
Jan 17th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. src/a/ tgt/aye/
  2. src/b tgt/b/
  3. src/c/ tgt/c
  4.  
  5. /tmp/testzone/src/a/afile.txt
  6. /tmp/testzone/src/b/bfile.txt
  7. /tmp/testzone/src/c/cfile.txt
  8.  
  9. cut -f 2 mapping.txt | tr 'n' '' | xargs -0 mkdir -p
  10.  
  11. /tmp/testzone/tgt/aye/
  12. /tmp/testzone/tgt/b/
  13. /tmp/testzone/tgt/c/
  14.  
  15. xargs --arg-file mapping2.txt cp -a
  16.  
  17. /tmp/testzone/tgt/aye/
  18. /tmp/testzone/tgt/b/
  19. /tmp/testzone/tgt/c/a/afile.txt
  20. /tmp/testzone/tgt/c/aye/
  21. /tmp/testzone/tgt/c/b/bfile.txt
  22. /tmp/testzone/tgt/c/c/cfile.txt
Add Comment
Please, Sign In to add comment