Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Copy selected dotfiles to directory
As said, dotcp copies your selected dotfiles to directory you indicated.
For example, dotcp ~/awesome-dotifles/config/
will copy your selected dotfiles into ~/awesome-dotfiles/config/
.
How to select dotfiles, you would ask? dotcp has it's own config. E.g:
i3
fish
alacritty
(dotcp's config file path should be $XDG_CONFIG_HOME/dotcp/config
, but you can indicate it using --config
option)
Now, if you would run the previous command, dotcp will copy i3, fish and alacritty config directories into ~/awesome-dotfiles/config/
.
Just wanted to have something similar to this script but customizable and extensible.
As any other shitty python program it can be easily installed via pip:
pip install --user dotcp
At first just run dotcp without any flags, indicating destination directory that does not yet exist:
dotcp destination-dir/
Then, to update content of destination-dir
you will have to use one of these flags: --overwrite
or --append
.
--overwrite
does the same thing as rm -r destination-dir && dotcp destination-dir
--append
appends your selected dotfiles into destination-dir
saving its contentExamples:
dotcp --overwrite destination-dir/
dotcp --append destination-dir/
FAQs
copy selected dotfiles to directory
We found that dotcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.