copy selected dotfiles to directory
Project description
dotcp
Copy selected dotfiles to directory
What is it?
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/.
Why?
Just wanted to have something similar to this script but customizable and extensible.
Installation
As any other shitty python program it can be easily installed via pip:
pip install --user dotcp
Usage
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.
--overwritedoes the same thing asrm -r destination-dir && dotcp destination-dir--appendappends your selected dotfiles intodestination-dirsaving its content
Examples:
dotcp --overwrite destination-dir/dotcp --append destination-dir/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dotcp-0.1.1.tar.gz.
File metadata
- Download URL: dotcp-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fe9658f64e50cf3e076bcae8b12ce625911326ed0cd4ab8eabc5f6e2e1abc78
|
|
| MD5 |
a4c6eec127d5e360533bdd1b93ea257f
|
|
| BLAKE2b-256 |
12e6d83af30d0e76ee9068a68a151f4dc0a9aaae8d34c9d31d4172e56bc8bf08
|
File details
Details for the file dotcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dotcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84ebc0ffa4bc6fe3311c97b7bb07e50c69cd7b33b686607eb44346679a9129df
|
|
| MD5 |
053ebd833c1ca68f2b99e36ff31baca7
|
|
| BLAKE2b-256 |
e1b6b5741d3dfd4abfa3ee19c2744688f52f27b5bae3eec6f468695a96cab26e
|