Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

media-cloud-ai/rs_file_system_worker

Repository files navigation

rs_file_system_worker

File system worker

Examples

List a directory

This example will list the current directory.

RUST_LOG=info SOURCE_ORDERS=examples/list_directory.json cargo run

Copy files

Create a directory named tmp

mkdir tmp

then run the example copy_file.json

RUST_LOG=info SOURCE_ORDERS=examples/copy_file.json cargo run

Remove a directory

Remark: Create a tmp directory before run this example.

RUST_LOG=info SOURCE_ORDERS=examples/remove_directory.json cargo run