Advertisement
Guest User

Untitled

a guest
Mar 16th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.04 KB | None | 0 0
  1. ⇉ ~ cd `mktemp -d`
  2. /tmp/tmp.FTl6ku4vXv mkdir -p test/{one,two,three}/{with_hidden,without_hidden}
  3. /tmp/tmp.FTl6ku4vXv touch test/{one,two,three}/with_hidden/.text_hidden
  4. /tmp/tmp.FTl6ku4vXv touch test/{one,two,three}/without_hidden/not_hidden
  5. /tmp/tmp.FTl6ku4vXv tree
  6. .
  7. └── test
  8.     ├── one
  9.     │   ├── with_hidden
  10.     │   └── without_hidden
  11.     │       └── not_hidden
  12.     ├── three
  13.     │   ├── with_hidden
  14.     │   └── without_hidden
  15.     │       └── not_hidden
  16.     └── two
  17.         ├── with_hidden
  18.         └── without_hidden
  19.             └── not_hidden
  20.  
  21. 10 directories, 3 files
  22. /tmp/tmp.FTl6ku4vXv mv test moved_test
  23. /tmp/tmp.FTl6ku4vXv find moved_test/ -type f
  24. moved_test/two/without_hidden/not_hidden
  25. moved_test/two/with_hidden/.text_hidden
  26. moved_test/one/without_hidden/not_hidden
  27. moved_test/one/with_hidden/.text_hidden
  28. moved_test/three/without_hidden/not_hidden
  29. moved_test/three/with_hidden/.text_hidden
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement