Coder Social home page Coder Social logo

kaholo-plugin-fs's Introduction

Kaholo File System Plugin

This plugin extends Kaholo's functionality to include common filesystem operations - creating, deleting, copying, and moving files and directories, as well as asserting that a path exists on the Kaholo agent.

If this is not the functionality you require these other plugins may be of interest...

Paths used in this plugin may be either relative or absolute. Relative paths are relative to the default working directory on the Kaholo agent. At the time this was writting the default directory is /twiddlebug/workspace. Use the Command Line Plugin to run command pwd to determine the default working directory of your Kaholo agent.

Method: Copy File/Directory

Copy File/Directory from source path to destination path on the Kaholo agent. For directories the copy is recursive, including subdirectories and files.

Parameter: Source Path

Path of the file/directory to copy.

Parameter: Destination Path

The path of the new copy.

Parameter: No Overwrite

If selected, don't copy if it will overwrite existing files or directories.

Method: Create Directory

Create a new directory in the provided path on the Kaholo agent. The full path will be created if it doesn't already exist, similar to command mkdir -p.

Parameter: Path

The path of the new directory.

Method: Move File/Directory

Move a file/directory from the source path to the destination path. For directories the move is recursive, including all subdirectories and files.

Parameter: Source Path

The path of the file/directory to move.

Parameter: Destination Path

The path to which it will be moved.

Parameter: No Overwrite

If selected, the move won't be done if destination path already exists.

Method: Delete File/Directory

Delete the file/directory in the specified path. For directories the deletion is recursive, deleting all subdirectories and files.

Parameter: Path

The path of the file/directory to delete.

Method: Path Exists

Check whether the specified path exists or not, returning either "exists": true or "exists": false as JSON in the Final Result.

Parameter: Path

The path of the file/directory to check for existance.

Method: SCP Action (Deprecated)

Use SSH/SCP to download or upload files from remote hosts. This method is deprecated in favor of the SSH Plugin. If this is inconvenient, please do not upgrade the plugin, or if you already have then downgrade. See INSTALL.md for details.

kaholo-plugin-fs's People

Contributors

amiton11 avatar xkcm avatar talyo10 avatar kenskyfish avatar nerpaula avatar ilanyaniv avatar kadosh1000 avatar

Watchers

Mariusz avatar James Cloos avatar Mateusz avatar  avatar Dvir Cohen avatar 3C avatar  avatar Dawid Zegar avatar Krzysztof Bernat avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.