| 22 | | To process a directory hierarchy, [source:templates/trunk/tools/directory-sync directory-sync] must called from `find` command. Look at the [source:templates/trunk/tools/directory-sync comments] at the beginning of the script for the exact syntax. |
| | 22 | To process a directory hierarchy, [source:templates/trunk/tools/directory-sync directory-sync] must called from `find` command. Look at the [source:templates/trunk/tools/directory-sync comments] at the beginning of the script for the exact syntax. Here is an example, assuming your are at the top of QWG templates and your source tree is `/tmp/scdb` (last parameter of the command must be a directory containing the directories given to `find` that need to be relative) : |
| | 23 | {{{ |
| | 24 | find grid os standard -type d -not -path '*.svn*' -exec tools/directory-sync {} /tmp/scdb/cfg \; |
| | 25 | }}} |