lepton-archive(1)

πŸ“¦
version 1.9.18 Β· 2 versions
  • 1.9.18 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.9.16 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– lepton-archive β€” the lepton-archive(1) glow-up πŸ’–

okay bestie, sit DOWN, because this little cutie from the Lepton EDA family (manual section 1, iykyk) is about to become your new favorite command. it's giving "archive goblin" but make it chic. πŸŽ€


✨ NAME ✨

lepton-archive β€” create and extract Lepton EDA design archives. yes, both. it's a dual threat. main character energy fr fr. πŸ’…


🌸 SYNOPSIS 🌸

lepton-archive [OPTIONS] FILE ...

that's it. that's the whole vibe. options, then a bunch of files. slay. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically lepton-archive creates and extracts Lepton EDA designs from an archive. two modes, one legend:

  • archive mode β€” archive creation. it takes a whole bunch of project files and smooshes them into one project archive. 🫢
  • extract mode β€” it pulls the files back out of the archive and drops them right into the local directory. like unpacking your emotional baggage but useful. 😭

in archive mode, the program processes schematic files by traversing their hierarchy, collecting and caching all the subschematics, symbols and subcircuits specified in the file= attributes. no cap, it follows every single thread. 🧡

heads up bestie: archive mode is the default. if you just run it with no mode flag, it's archiving. periodt.

πŸ‘‘ OPTIONS πŸ‘‘

every flag, accounted for. no skipping. we don't do that here. πŸ’œ

  • -h, --help β€” print usage information. your little helper. πŸ₯°
  • -v, --verbose β€” verbose mode. it tells you everything it's doing, like a friend live-texting you the whole drama. ✨
  • -f, --files-from=FILE β€” additionally read filenames to archive from FILE. so you can hand it a list instead of typing forever. iconic. πŸ“‹
  • -e, --extract β€” extract mode. mandatory if you want to extract from an archive. like, you have to say it, it's not gonna guess. πŸ’€
  • -a, --archive β€” archive mode. it is the default mode. the OG. the blueprint. 🌈
  • -o, --output=FILE β€” specify the name of the output archive file in archive mode. if FILE has no .tar.gz suffix, it will be automatically appended. the default file name is project-archive.tar.gz. πŸŽ€

πŸ“ EXAMPLES πŸ“

want to create an archive named MyArchive.tar.gz? the files to store are listed in archive-list:

lepton-archive -f archive-list -o MyArchive.tar.gz

the same thing, but by using just the file basename:

lepton-archive -f archive-list -o MyArchive

verbosely create an archive from files listed on the command line:

lepton-archive -v README sch1.sch sch2.sch sch3.sch

extract an archive:

lepton-archive -e project-archive.tar.gz

look at her go. πŸ¦‹βœ¨


πŸ’œ AUTHOR πŸ’œ

the initial Python script has been written by Stuart Brorson <sdb@cloud9.net>. the program has been rewritten almost from scratch in Scheme by Vladimir Zhbanov <vzhbanov@gmail.com>. two icons, one legacy. πŸ‘‘


🌈 SEE ALSO 🌈


Copyright Β© 2012-2017 gEDA Contributors.

Copyright Β© 2019-2022 Lepton EDA Contributors.

License GPLv2+: GNU GPL version 2 or later. please see the COPYING file included with this program for full details.

this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. 🫢


okay and that's the whole page, bestie!! written by the Lepton EDA girlies, version 1.9.18.20220529, dated May 29, 2022. go archive something. slay. πŸ’…βœ¨πŸŽ€