commands/File Manager

File Manager

Description

File Manager is a utility for browse and manage files on your server.

Commands

<> = Required [] = Optional
You can use /filemanager or /fileman or /fm

  • /fm toggle
    • **Toggle file management mode (run "/fm <command>" by typing "<command>").
  • /fm list/ls [param]
    • Show all directories and files in current directory.
    • Example: /fm ls -f 1 5
  • /fm select/sel [file/directory] [file/directory] ...
    • ***Clear all selection if no file or directory entered otherwise will select file if not selected and deselect file if selected.
    • Example: /fm sel plugins whitelist.txt
  • /fm changedir/cd <directory>
    • Change current directory (if you want to go back from current directory type "/fm cd .." or to go home directory type "/fm cd ~").
    • Example: /fm cd plugins/SMP
  • /fm remove/rm/delete/del <file/directory>
    • Remove all directories and files included sub-directory.
    • Example: /fm rm plugin/SMP
  • /fm unzip <zipfile> [targetDirectory]
    • Extract zip file to current directory or target directory.
    • Example: /fm unzip MyZip.zip
  • /fm download/dl <url> [targetFilename]
  • /fm move/mv <file/directory> <file/directory>
    • Move file or directory to target file or directory.
    • Example: /fm mv plugins plugouts
  • /fm copy/cp <file/directory> <file/directory>
    • Copy file or directory to target file or directory.
    • Example: /fm cp plugins plugouts

** Console is not supported
*** Work in progress (no use of it right now)

Params

In order to list a file or directory with some specification you can use following parameters to help you filter only file or directory...

  • -f
    • Add this to show only file
  • -d
    • Add this to show only directory
  • -h
    • Add this to show hidden directories and files
  • [start] [end]
    • Add this to limit the output

Example:
Commands: /fm ls 5 10
Result: Show 5th to 10th directories or files

Commands: /fm ls -f
Result: Show all files in current directory

Commands: /fm ls -d 1 5
Result: Show first 5 directories in current directory

Commands: /fm ls -f -h 1 10
Result: Show first 10 files included hidden files

Tool Limitation

  • File Manager cannot accept following rules...
    • Directory or file name with space

Comments

Posts Quoted:
Reply
Clear All Quotes