Addons/general/dirtrees

From J Wiki
Jump to navigation Jump to search
User Guide | Installation | Development | Categories | Git | Build Log

general/dirtrees - Directory tree utilities

  • Provides verbs for copying and deleting directory trees.
  • The dirutils addon must also be installed.

Browse source and examples in github.

Verbs

copytree v Copies directory tree from directory y to directory x
deltree v Deletes directory tree

Installation

Use JAL/Package Manager to install the dirtrees and dirutils addons.

Usage

Load dirtrees addon with the following line

   load 'general/dirtrees'

To see the sampler of usage, run the test_dirtrees.ijs script.

  • Open the script open 'general/dirtrees/test'
  • Select all contents using Ctrl+A
  • Run Selection using Ctrl+E

Here is typical session output from the test.ijs script.

Authors

See Also