github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_files_import.md (about) 1 ## cozy-stack files import 2 3 Import the specified file or directory into cozy 4 5 ``` 6 cozy-stack files import [--domain domain] [--match pattern] --from <name> --to <name> [flags] 7 ``` 8 9 ### Options 10 11 ``` 12 --dry-run do not actually import the files 13 --from string directory to import from in cozy 14 -h, --help help for import 15 --match string pattern that the imported files must match 16 --to string directory to import to in cozy (default "/") 17 ``` 18 19 ### Options inherited from parent commands 20 21 ``` 22 --admin-host string administration server host (default "localhost") 23 --admin-port int administration server port (default 6060) 24 -c, --config string configuration file (default "$HOME/.cozy.yaml") 25 --domain string specify the domain name of the instance (default "cozy.localhost:8080") 26 --host string server host (default "localhost") 27 -p, --port int server port (default 8080) 28 ``` 29 30 ### SEE ALSO 31 32 * [cozy-stack files](cozy-stack_files.md) - Interact with the cozy filesystem 33