directory summary

Plugin Name: directory
Version: 0.1.6
Author: @melezhik
Realease Date: 2018-08-02 17:59:02
Short Description: Manages directories
Category: ---
Plugin web page: https://github.com/melezhik/directory
 
Download link: directory-v0.001006.tar.gz
Latest version link: https://sparrowhub.org/info/directory

# 0.1.6

* Darwin OS support

# 0.1.5

* Fix chgrp bug

# 0.1.4

* Minoca OS support 

directory documentation

SYNOPSIS

Sparrow plugin to manages directories.

INSTALL

  $ sparrow plg install directory

USAGE

  $ cat sparrowfile


  task-run %(

    task => 'create this directory',
    plugin => 'directory',
    parameters => %(
      action => 'create',
      path => '/opts/perl'
      recursive => 1,
      mode => '755',
      owner => 'sparrow',
      group => 'sparrow'
    )

  );

Parameters

action

One of two - create|delete. Default value is 'create'

path

A directory path.

recursive

Recursively creates a directory if parent directories not exist. Default value is 1.

owner

Sets the owner of the directory created

group

Sets a group a directory created will belong to

mode

Sets file permissions

AUTHOR

Alexey Melezhik