Metadata-Version: 2.1
Name: copy-to
Version: 1.0.2
Summary: A little commandline tool to copy and paste multiple files and directories to single directory with use of configuration
Project-URL: Homepage, https://github.com/excited-bore/copy-to
Project-URL: Bug Tracker, https://github.com/excited-bore/copy-to/issues
Author-email: Stan Nys <stan96@duck.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# copy-to

A little python script i use in conjunction with git so you can easily copy config files from anywhere in an instant to do whatever with!

Depends on [argcomplete](https://pypi.org/project/argcomplete/)

Install it with:
`pip3 install argcomplete copy-to`
and run `activate-global-python-argcomplete`

Then add it to path in `~/.bashrc`

For example, using default python package site
`export PATH=$PATH:$(python -m site --user-site)/copy-to/copy-to`

List configured paths and files with `copy-to list myname` 
or just `copy-to list`

Add a config with `copy-to add myname destination_folder sourcefile1 (sourcefolder1 sourcefile2 sourcefile3 sourcefolder2/*) ...`

Copy the files by running `copy-to run myname1 (myname2)`

Delete conf name with `copy-to delete myname1 (myname2)`

Add sources with `copy-to add_source myname folder1 file1`

Reset source and destination folders
`copy-to reset_source myname`
and
`copy-to reset_destination myname`

Groups are based on names. For copying to multiple directories in one go.
Takes up 'group' as config namespace.

Add groupname
`copy-to add_group mygroupname myname1 myname2`

Delete groupname
`copy-to delete_group mygroupname`

Configuration files at `~/.config/copy-to/confs.json` for Linux 

Windows and mac not tested
