Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. ln -s /dir/* /dir2/
  2.  
  3. gcp -al /dir1/ dir2/
  4.  
  5. cd /dir2
  6. find /dir -mindepth 1 -maxdepth 1 -type d -exec mkdir {} ;
  7.  
  8. find /dir -mindepth 1 -maxdepth 1 -type f -exec ln -s -t /dir2 {} +
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement