| Line | |
|---|
| 1 | # Returns the directories (up to 3 levels down) that have content owned by the user apache
|
|---|
| 2 |
|
|---|
| 3 | openmeth@dulquad:~/openmethodology.org/html$ find ./ -user apache | cut -d / -f 1,2,3,4 | uniq
|
|---|
| 4 | ./mike2/old_blogs/wp-content
|
|---|
| 5 | ./mike2/w/images
|
|---|
| 6 | ./mike2/blogs/wp-content
|
|---|
| 7 | openmeth@dulquad:~/openmethodology.org/html$
|
|---|
| 8 |
|
|---|
| 9 | # Creates a copy of the html directory as html.bak
|
|---|
| 10 | openmeth@dulquad:~/openmethodology.org$ rsync -av --progress html html.bak
|
|---|
| 11 | building file list ...
|
|---|
| 12 | 6162 files to consider
|
|---|
| 13 |
|
|---|
| 14 | sent 185098 bytes received 20 bytes 370236.00 bytes/sec
|
|---|
| 15 | total size is 339064182 speedup is 1831.61
|
|---|
| 16 | openmeth@dulquad:~/openmethodology.org$
|
|---|
Note: See
TracBrowser
for help on using the repository browser.