LEIL-MAKESNAPSHOT(1)

πŸ“¦ version 5.12.0, in nixpkgs unstable

πŸŽ€ leil-makesnapshot β€” make lazy copies Β· manual page LEIL-MAKESNAPSHOT(1) πŸŽ€

🌸 NAME 🌸

leil-makesnapshot β€” make lazy copies ✨

✨ SYNOPSIS ✨

leil makesnapshot [-o] [-f] SOURCE... DESTINATION

πŸ’– DESCRIPTION πŸ’–

Okay bestie, so makesnapshot makes a β€œreal” snapshot β€” a lazy copy, like in case of appendchunks β€” of some object(s) or subtree (similarly to the cp -r command). It’s atomic with respect to each SOURCE argument separately 🫢

If DESTINATION points to an already existing file, an error will be reported unless the -f (force) option or its alias -o (overwrite) option is given. No cap, that’s the whole vibe check πŸ’…

The flags doing the work here are:

  • -f β€” force; gives you the β€œdon’t error just because DESTINATION already exists” behavior.
  • -o β€” overwrite; it’s the alias of -f, same existing-destination situation.

πŸ“Œ Note πŸ“Œ

If SOURCE is a directory, it’s copied as a whole; but if it’s followed by a trailing slash, only the directory content is copied. Literally such a tiny slash with so much main character energy 😭✨

πŸ’€ REPORTING BUGS πŸ’€

Found a bug? Don’t just scream into the group chat β€” report bugs to the GitHub repository https://github.com/leil-io/leilfs as an issue πŸ›πŸ’–

Copyright 2008-2009 Gemius SA

Copyright 2013-2019 Skytechnology sp. z o.o.

Copyright 2023-2024 Leil Storage OÜ

LeilFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.

LeilFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with LeilFS. If not, see http://www.gnu.org/licenses/.

πŸ”— SEE ALSO πŸ”—

leil(1), leil-appendchunks(1) 🌈


okay bye bestie β€” this was the LEIL-MAKESNAPSHOT(1) manual page, dated 1980-01-01 πŸ«ΆπŸ’–

πŸ“¦ where this page comes from