INCUS.STORAGE.VOLUME.FILE.CREATE(1)

πŸ“¦
version 7.0.1 Β· 3 versions
, in ubuntu stonking

✨ incus-storage-volume-file-create ✨

okay bestie, welcome to the Incus - Command line client manual, page one, and this is the one about the incus-storage-volume-file-create command πŸ’… it makes files and directories inside a custom vollume, and yes we're gonna get into it.

🌸 NAME 🌸

incus-storage-volume-file-create β€” Create files and directories in custom vollume πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

incus storage volume file create [:] / [] [flags]

like… that's the shape of it, okay? that's the vibe. moving on πŸ’–


✨ DESCRIPTION ✨

Description:

Create files and directories in custom volume 🫢

that's it. that's the whole job. you point it at a custom volume and it goes "boom, file" or "boom, directory" and honestly? iconic. no cap.


πŸ‘‘ OPTIONS πŸ‘‘

  • -p, --create-dirs[=false] β€” Create any directories necessary πŸ—‚οΈ like, if the path you want doesn't exist yet, girl, it'll build the whole road for you.
  • -f, --force[=false] β€” Force creating files or directories πŸ’ͺ no chill, no hesitation, it just does the thing.
  • --gid=-1 β€” Set the file's gid on create πŸ‘₯ yeah, that's the group id, and it defaults to -1.
  • --mode="" β€” Set the file's perms on create πŸ” permissions go here, and the default is "" (empty, bestie, it's giving mystery).
  • -t, --type="file" β€” The type to create (file, symlink, or directory) 🌈 so your options are file, symlink, or directory, and it defaults to file like the main character it is.
  • --uid=-1 β€” Set the file's uid on create 🫧 that's user id, and it defaults to -1.

🌟 OPTIONS INHERITED FROM PARENT COMMANDS 🌟

these ones come from the parent commands, so they're like… the family traits πŸ’œ

  • --debug[=false] β€” Show all debug messages πŸ›
  • --explain[=false] β€” If the command is valid, explain its parsed arguments instead of running it πŸ” it literally just tells you what it would have done. so nosy. love it.
  • --force-local[=false] β€” Force using the local unix socket 🧦
  • -h, --help[=false] β€” Print help πŸ™‹β€β™€οΈ
  • --project="" β€” Override the source project πŸ“ default is "".
  • -q, --quiet[=false] β€” Don't show progress information 🀫
  • --sub-commands[=false] β€” Use with help or --help to view sub-commands πŸͺœ
  • -v, --verbose[=false] β€” Show all information messages πŸ“’
  • --version[=false] β€” Print version number πŸ”’

πŸ“ EXAMPLE πŸ“

okay so here's how you actually use this thing:

incus storage volume file create foo bar/baz

To create a file baz in the bar volume on the foo pool. βœ…

incus file create --type=symlink foo bar/baz qux

To create a symlink qux in bar storage volume on the foo pool whose target is baz. πŸ”—βœ¨


πŸ’– SEE ALSO πŸ’–

  • incus-storage-volume-file(1) β€” go read the sibling page, bestie, they're a package deal 🫢

πŸ“œ HISTORY πŸ“œ

  • 24-Sep-2026 β€” Auto generated by spf13/cobra πŸ€–
ngl this whole page was auto generated by spf13/cobra, so if it sounds like a robot wrote it, that's because a robot did. slay anyway πŸ’…

and that's the page!! Auto generated by spf13/cobra, Sep 2026, from the Incus - Command line client era of the docs. go forth and create files, queen πŸ‘‘πŸ’– ily bye!!

πŸ“¦ where this page comes from