INCUS.FILE.CREATE(1)

πŸ’– incus-file-create β€” create files & dirs in ur instances ✨

okay bestie, welcome to the Incus command line client manual page πŸ’… this one's all about incus file create, and yeah it's a little one but she's a baddie. let's get into it πŸŽ€


🌸 NAME 🌸

incus-file-create β€” Create files and directories in instances πŸ¦‹


✨ SYNOPSIS ✨

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

periodt. that's the shape of it 🫢


πŸŽ€ DESCRIPTION πŸŽ€

Description:

Create files and directories in instances πŸ’–

like. that's literally the whole thing. it makes files, it makes dirs, and it does it inside ur instances. the way that it just does that πŸ˜­πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -p, --create-dirs[=false] β€” go ahead and create any directories that are necessary for this to work 🌈
  • -f, --force[=false] β€” force creating files or directories, no questions asked πŸ”₯
  • --gid=-1 β€” set the file's gid when it gets created πŸ‘‘
  • --mode="" β€” set the file's perms when it gets created πŸ”
  • -t, --type="file" β€” the type to create. ur options are file, symlink, or directory β€” pick ur fighter ⭐
  • --uid=-1 β€” set the file's uid when it gets created 🫢

🧚 OPTIONS INHERITED FROM PARENT COMMANDS 🧚

these ones come from the parent command, so they're not even unique to this baddie, but they still show up to the party πŸ’œ

  • --debug[=false] β€” show all the debug messages, literally all of them πŸ’€
  • --explain[=false] β€” if the command is valid, explain its parsed arguments instead of actually running it. so useful ngl πŸ™ˆ
  • --force-local[=false] β€” force using the local unix socket πŸ“
  • -h, --help[=false] β€” print help πŸ“–
  • --project="" β€” override the source project πŸŽ€
  • -q, --quiet[=false] β€” don't show progress information. for the girlies who want silence 🫢
  • --sub-commands[=false] β€” use this 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 the tea, two little demos for u bestie:

incus file create foo/bar

To create a file /bar in the foo instance. iconic. she's just a file πŸ¦‹


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

To create a symlink /bar in instance foo whose target is baz. slay ✨


🌈 SEE ALSO 🌈

  • incus-file(1) β€” go read that one too, iykyk πŸ’œ

πŸ’€ HISTORY πŸ’€

24-Sep-2026 β€” Auto generated by spf13/cobra πŸŽ€


okay that's the whole page bestie, no cap πŸ’… Auto generated by spf13/cobra, Sep 2026, and we're repping the Incus command line client manual page. now go forth and create ur files πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from