Convert Blender-Purge
to a more generic Blender-Crawl
Tool
#42
@ -22,8 +22,8 @@ This script does the following (follow this if you want to do this manually or o
|
|||||||
1. Clone this repository with `git clone https://projects.blender.org/studio/blender-studio-pipeline.git`
|
1. Clone this repository with `git clone https://projects.blender.org/studio/blender-studio-pipeline.git`
|
||||||
2. Run `cd blender-studio-pipeline/scripts/blender-crawl` to enter directory
|
2. Run `cd blender-studio-pipeline/scripts/blender-crawl` to enter directory
|
||||||
3. Install with `python setup.py install`
|
3. Install with `python setup.py install`
|
||||||
4. Run with `sudo python -m blender_crawl /my-folder/`
|
4. Run with `blender_crawl /my-folder/`
|
||||||
5. Get help with `sudo python3 -m blender_crawl -h`
|
5. Get help with `blender_crawl -h`
|
||||||
|
|
||||||
|
|
||||||
## How to get started
|
## How to get started
|
||||||
@ -44,11 +44,11 @@ Run directly out of repo folder or follow above installation instructions. Give
|
|||||||
|
|
||||||
| Action | Command |
|
| Action | Command |
|
||||||
| ----------- | ----------- |
|
| ----------- | ----------- |
|
||||||
|Prints the names of .blends in Current Directory | `python -m blender_crawl ./` |
|
|Prints the names of .blends in Current Directory | `blender_crawl ./` |
|
||||||
|Print the names of .blends Recursively | `python -m blender_crawl /my-folder/ --recursive` |
|
|Print the names of .blends Recursively | `blender_crawl /my-folder/ --recursive` |
|
||||||
|Print only the names of .blends matching a provided string |`python -m blender_crawl /my-folder/ --find string`|
|
|Print only the names of .blends matching a provided string |`blender_crawl /my-folder/ --find string`|
|
||||||
|Run default 'Purge' script on .blends in Current Directory |`python -m blender_crawl /my-folder/ --purge`|
|
|Run default 'Purge' script on .blends in Current Directory |`blender_crawl /my-folder/ --purge`|
|
||||||
|Run custom script on all .blends in Current Directory |`python -m blender_crawl /my-folder/ --script /my-directory/my-script.py`|
|
|Run custom script on all .blends in Current Directory |`blender_crawl /my-folder/ --script /my-directory/my-script.py`|
|
||||||
|Ask/Prompt before script execution|`python -m blender_crawl /my-folder/ --script /my-directory/my-script.py --ask`|
|
|Ask/Prompt before script execution|`blender_crawl /my-folder/ --script /my-directory/my-script.py --ask`|
|
||||||
|Run with a custom blender executable|`python -m blender_crawl /my-folder/ --exec /path-to-blender-executable/blender`|
|
|Run with a custom blender executable|`blender_crawl /my-folder/ --exec /path-to-blender-executable/blender`|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user