Skip to content

file-io

File IO related commands

Usage:

file-io [OPTIONS] COMMAND [ARGS]...

Options:

Name Type Description Default
--help boolean Show this message and exit. Sentinel.UNSET

file-io copy

Copy a file or directory to a new location.

Usage:

file-io copy [OPTIONS]

Options:

Name Type Description Default
--input-path path The input path, to a directory tree or file. Sentinel.UNSET
--output-path path The output path, to a directory tree or file. Sentinel.UNSET
--overwrite boolean Overwrite existing files if they already exist. Sentinel.UNSET
--help boolean Show this message and exit. Sentinel.UNSET

file-io delete

Delete one or more files and/or directories.

Usage:

file-io delete [OPTIONS]

Options:

Name Type Description Default
--input-paths path The input path, to a directory tree or file to delete, can be specified multiple times. Sentinel.UNSET
--help boolean Show this message and exit. Sentinel.UNSET

file-io generate-file-list

Generates a JSON file containing all of the files in the specified directory.

Usage:

file-io generate-file-list [OPTIONS] DIRECTORY FILE_LIST

Options:

Name Type Description Default
--help boolean Show this message and exit. Sentinel.UNSET

file-io generate-game-file-list-json

Generates a JSON file containing all of the files in the game directory, from the game exe specified within the settings JSON.

Usage:

file-io generate-game-file-list-json [OPTIONS]

Options:

Name Type Description Default
--config-file file Path to the settings JSON file Sentinel.UNSET
--output-json path Path to the output game file list json. Sentinel.UNSET
--help boolean Show this message and exit. Sentinel.UNSET

file-io move

Move a file or directory to a new location.

Usage:

file-io move [OPTIONS]

Options:

Name Type Description Default
--input-path path The input path, to a directory tree or file. Sentinel.UNSET
--output-path path The output path, to a directory tree or file. Sentinel.UNSET
--overwrite boolean Overwrite existing files if they already exist. Sentinel.UNSET
--help boolean Show this message and exit. Sentinel.UNSET

file-io open-latest-log

Opens the latest log file.

Usage:

file-io open-latest-log [OPTIONS]

Options:

Name Type Description Default
--config-file file Path to the settings JSON file Sentinel.UNSET
--help boolean Show this message and exit. Sentinel.UNSET

Symlink a file or directory to a new location.

Usage:

file-io symlink [OPTIONS]

Options:

Name Type Description Default
--input-path path The input path, to a directory tree or file. Sentinel.UNSET
--output-path path The output path, to a directory tree or file. Sentinel.UNSET
--overwrite boolean Overwrite existing files if they already exist. Sentinel.UNSET
--help boolean Show this message and exit. Sentinel.UNSET

file-io unzip

Unzip

Usage:

file-io unzip [OPTIONS]

Options:

Name Type Description Default
--output-directory directory Path to the directory to unzip the zip to. Sentinel.UNSET
--zip path Path to the zip. Sentinel.UNSET
--help boolean Show this message and exit. Sentinel.UNSET

file-io zip

Zip Directory Tree

Usage:

file-io zip [OPTIONS]

Options:

Name Type Description Default
--directory directory Path to the directory tree whose content to zip. Sentinel.UNSET
--zip path Path to the output zip file. Sentinel.UNSET
--help boolean Show this message and exit. Sentinel.UNSET