github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_files_exec.md (about) 1 ## cozy-stack files exec 2 3 Execute the given command on the specified domain and leave 4 5 ### Synopsis 6 7 Execute a command on the VFS of the specified domain. 8 Available commands: 9 10 mkdir <name> Creates a directory with specified name 11 ls [-l] [-a] [-h] <name> Prints the children of the specified directory 12 tree [-l] <name> Prints the tree structure of the specified directory 13 attrs <name> Prints the attributes of the specified file or directory 14 cat <name> Echo the file content in stdout 15 mv <from> <to> Rename a file or directory 16 rm [-f] [-r] <name> Move the file to trash, or delete it permanently with -f flag 17 restore <name> Restore a file or directory from trash 18 19 Don't forget to put quotes around the command! 20 21 22 ``` 23 cozy-stack files exec [--domain domain] <command> [flags] 24 ``` 25 26 ### Options 27 28 ``` 29 -h, --help help for exec 30 ``` 31 32 ### Options inherited from parent commands 33 34 ``` 35 --admin-host string administration server host (default "localhost") 36 --admin-port int administration server port (default 6060) 37 -c, --config string configuration file (default "$HOME/.cozy.yaml") 38 --domain string specify the domain name of the instance (default "cozy.localhost:8080") 39 --host string server host (default "localhost") 40 -p, --port int server port (default 8080) 41 ``` 42 43 ### SEE ALSO 44 45 * [cozy-stack files](cozy-stack_files.md) - Interact with the cozy filesystem 46