(incus_file_pull.md)= # `incus file pull` Pull files from instances ## Synopsis ```{line-block} Description: Pull files from instances ``` ``` incus file pull [:]/... [flags] ``` ## Examples ``` incus file pull foo/etc/hosts . To pull /etc/hosts from the instance and write it to the current directory. incus file pull foo/etc/hosts - To pull /etc/hosts from the instance and write its output to standard output. ``` ## Options ``` -a, --archive[=true|false] Preserve ownership, timestamps and mode (implies --recursive) -p, --create-dirs[=true|false] Create any directories necessary -L, --dereference[=true|false] Always follow symbolic links in source path -H, --follow[=true|false] Follow command-line symbolic links in source path -P, --no-dereference[=true|false] Never follow symbolic links in source path -r, --recursive[=true|false] Recursively transfer files ``` ## Options inherited from parent commands ``` --debug[=true|false] Show all debug messages --explain[=true|false] If the command is valid, explain its parsed arguments instead of running it --force-local[=true|false] Force using the local unix socket -h, --help[=true|false] Print help --project Override the source project -q, --quiet[=true|false] Don't show progress information --sub-commands[=true|false] Use with help or --help to view sub-commands -v, --verbose[=true|false] Show all information messages --version[=true|false] Print version number ``` ## SEE ALSO * [incus file](incus_file.md) - Manage files in instances