Multiple file operations
-
How do I check in lots of files from the command line?
 |
bk sfiles -U -c | bk ci -yyour_comments -
|
-
How do I modify every file in the tree in one shot for testing?
 |
bk sfiles -g -U| while read x; do echo $x; echo "foobar" >> $x; done
|
-
How would I ``bk get'' all *.pm files in all subdirectories?
Try this:
 |
bk -R sfiles -g | grep '\.pm$' | bk get -
|
-
How do I find all bad writable files?
 |
bk -r check -w
|
Typical usage:
 |
bk -r check -w | bk -R edit -g -
bk -r check -w | bk -R xargs whatever
|
| |