Contents Menu Expand Light mode Dark mode Auto light/dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
syndot
syndot

Library

  • syndot
    • add
    • diffuse
    • init
    • link
    • list
    • remove
    • rename
    • unlink
  • map.ini

References

  • Get Started
    • Installation
  • PyPI
  • Issue Tracker
  • Source Code
  • License
  • Release Notes
    • Version 2.0.0
    • Version 1.0.0
Back to top
View this page
Edit this page

link¶

Move dotfiles to the settings directory and create symlinks to them.

Usage¶

syndot link [-b | --backup] ([[-l | --label] <LABEL>...] | [[-p | --path] <PATH>...]) [[-m | --mapfile] <MAP_FILE>] [[-s | --start] <PATH_START>]

Options¶

  • -b, --backup - Create a backup copy of the original dotfile.

  • -h, --help - Show the help message and exit.

  • -l, --label <LABEL> [<LABEL>...] - Label(s) to link the associated path(s). At least a <LABEL> or a <PATH> must be provided.

    Added in version 2.0.

  • -m, --mapfile <MAP_FILE> - Path to the map file. If not provided search for a map.ini file in the current directory, so not required if current directory is the settings directory.

  • -p, --path <PATH> [<PATH>...] - Dotfile path(s) to link. At least a <LABEL> or a <PATH> must be provided.

    Added in version 2.0.

  • -s, --start <PATH_START> - Filter target based on path starting with <PATH_START>.

    Added in version 2.0.

Next
list
Previous
init
Copyright © 2024, Andrea Blengino
Made with Sphinx and @pradyunsg's Furo
On this page
  • link
    • Usage
    • Options