tree from_jal

Usage

Run using mc_script tree from_jal after installation or using ~ndcn0236/bin/mc_script tree from_jal on jalapeno.

Import in python using from mcutils.scripts.tree import from_jal

Documentation

Copies files matching short name from jalapeno

Warning: this script will only work if your directory structure matches mine (DO NOT USE!).

Functions

sync_tree(tree, directory, short_names[, …])

Syncs given short names in the FileTree

CLI interface

add_to_parser([parser])

Creates the parser of the command line arguments

run_from_args(args)

Runs script from command line arguments