smd-push(1)
π smd-push β the smd-push(1) era π
ok bestie, sit down, hydrate, and let me tell you about smd-push, a lil command from the Sync Mail Dir (smd) docs. it's giving "one-way street, and the street is the remote maildir." no cap.
β¨ NAME β¨
smd-push β syncs the remote mail dir letting the local one untouched π«Ά
πΈ SYNOPSIS πΈ
smd-push [-d|--dry-run] [-v|--verbose] [-s|--show-tags] [-t|--template-only]
[-n|--no-delete] [endpoint]
look at her. all those flags. main character energy fr fr π
π¦ DESCRIPTION π¦
so here's the vibe: smd-push performs in the remote maildir all the changes that were performed on the local one. the remote gets the glow-up. the local stays exactly as it is, unbothered, moisturized, in its lane. π
No changes are made on the local maildir. literally none. zero. if you wanted the local one to change too, that's a different command, bestie β use smd-pull(1) for that. π
and if you're like "okay but where do I even configure this," refer to smd-config(5) for the configuration file format. that's your blueprint, your mood board, your config file lore. πβ¨
π OPTIONS π
-v,--verboseβ verbose output π¬ she talks a LOT. every little thing, narrated.-s,--show-tagsβ machine readable output π€ for when a script is reading over your shoulder and needs the receipts in a format it can actually parse.-d,--dry-runβ do not perform any action for real π a little rehearsal. a dress rehearsal. nothing actually happens, it's just the fantasy.-n,--no-deleteβ do not propagate deletions π«ποΈ deletions stay home. they do not travel. the remote keeps things you deleted locally, which is honestly very forgiving of it.-t,--template-onlyβ just create a template configuration file if none π one job. creates the template config if there isn't one already, and that's it.endpointβ is the suffix for the name of the configuration file to use. π if it is omitted, the configuration file~/.smd/config.defaultis used. so like, leave it out and she goes to the default. periodt.
π FILES π
the sacred texts, the places where the magic lives:
~/.smd/config.*~/.smd/hooks/pre-push.d/~/.smd/hooks/post-push.d/
hooks before AND after?? we love a command with a before-and-after routine. self-care. πΈπ§
π₯ SEE ALSO π₯
go read these next, they're all in the same friend group:
mddiff(1), smd-server(1), smd-client(1), smd-pull(1), smd-loop(1), smd-config(5)
iykyk. one of them is literally the reverse of this one, go find her. π
π AUTHOR π
Enrico Tassi <gares@fettunta.org> β the icon, the legend, the one who wrote all this down for us. π«Ά
β οΈ reminder bestie: this pushes TO the remote and leaves your local maildir completely untouched. if you were hoping for a two-way situation, that's not this. check the SEE ALSO section, there's a pull command with your name on it. π
and that's the whole page, bestie!! β¨ this was the smd-push(1) page from the Sync Mail Dir (smd) docs, dated 21 April 2021 β go forth and sync responsibly, mwah ππ π¦
π¦ where this page comes from
- ubuntu jammy: syncmaildir 1.3.0-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms