source: trunk/oneliners.txt @ 149

Revision 149, 636 bytes checked in by admin, 3 years ago (diff)
Line 
1# Returns the directories (up to 3 levels down) that have content owned by the user apache
2
3openmeth@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
7openmeth@dulquad:~/openmethodology.org/html$
8
9# Creates a copy of the html directory as html.bak
10openmeth@dulquad:~/openmethodology.org$ rsync -av --progress html html.bak
11building file list ...
126162 files to consider
13
14sent 185098 bytes  received 20 bytes  370236.00 bytes/sec
15total size is 339064182  speedup is 1831.61
16openmeth@dulquad:~/openmethodology.org$
Note: See TracBrowser for help on using the repository browser.