gcp is a user-friendly file copier written in Python. Its name used to stand for "Goffi's CoPier", but was changed into a recursive acronym: Gcp CoPier.
gcp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
gcp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
gcp is a file copier, loosely inspired from cp, but with high level functionalities such as:
WARNING: gcp is at a relatively early stage of development, use at your own risks!
First, install the following packages on your system (these Debian packages names, they may be different on other distros/systems):
Then install gcp with pip: pip3 install gcp
apt install gcp
Pretty much like cp (see
gcp --help and
Please note that the behaviour is not exactly the same as cp's, even if gcp
aims to be option-compatible. Mainly, the destination filenames can be modified
gcp doesn't implement all the options GNU cp has yet, but it's a long-term goal.
The log file is aimed to be used by gcp itself, buts remains human-readable. It
is located in
3 states are used:
After the state, a list of things that went wrong is shown, separated by ", ".
Here are some ideas for future developments:
And in an even more distant future:
A big big thanks to the authors/contributors of...
progressbar: gcp uses ProgressBar, a class coded by Nilton Volpato that allows the textual representation of progression.
GLib: This heavily used library is used here for the main loop, event catching, and for DBus. Get it at https://developer.gnome.org/glib/.
DBus: This excellent IPC is ut the heart of gcp. Get more information at https://www.freedesktop.org/wiki/Software/dbus/.
Python and its amazing standard library: gcp was coded quickly for my own needs thanks to this excellent and efficient language and its really huge standard library. Python can be download at https://www.python.org/.
If I forgot any credit, please contact me (email below) to fix that.
Big thanks to contributors and package maintainers.
--fix-filenamesoption, Python3 fixes.
Feedback, bug reports, patches, etc. are welcome, either by email or on the repository's issue tracker https://code.lm7.fr/mcy/gcp/issues.
You can also have a look at Goffi's other main project, Salut à Toi (SàT), a Jabber/XMPP-based multi-frontend, multipurpose communication tool.
Don't hesitate to give feedback :)