Skip to content

A CommandHelper extension that adds file editing support

Notifications You must be signed in to change notification settings

macjuul/CHFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CHFiles is a CommandHelper extension that allows you to work with files and directory and interact with them from whithin your server.

Latest release: v1.0.3

Functions:

  • copy_file(FromFile, ToFile) - Copy a file (or directory) to another location, with a new name

  • create_file(PathToFile) - Create a new file

  • delete_file(PathToFile) - Delete an extension file or directory

  • list_files(PathToDirectory) - Lists all files and directories in given directory

  • rename_file(PathToFile) - Rename a file

  • write_file(PathToFile, content, [mode]) - Write text to a file. mode is optional, can be OVERWRITE or APPEND

  • file_exists(Path) - Check if a file exists, returns true or false

About

A CommandHelper extension that adds file editing support

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages