Matteo Cypriani
7bff021cd3
Update translation files
2018-10-14 20:59:09 +02:00
Matteo Cypriani
43da9301fa
Rename --fs-fix -> --fix-filenames
...
Also, reorder/group options so that the help message is more readable.
2018-10-14 19:08:31 +02:00
Matteo Cypriani
007d04dd16
"Rename" gcp
...
Following Goffi's will, this commit renames Gcp (Goffi's CoPier) into
gcp (Gcp CoPier).
2018-10-14 16:52:27 +02:00
Matteo Cypriani
6dbb4152f5
gcp: fix bug introduced in cbd9648
...
gcp was not exiting after copying.
2018-07-04 20:57:38 +02:00
Matteo Cypriani
f99dcc1e2c
First pass with Prospector
...
Also some beautifying, line wrapping, etc.
2018-06-20 17:13:45 +02:00
Matteo Cypriani
cbd96480c5
gcp: reorganize __copyNextFile()
2018-06-20 17:13:45 +02:00
Matteo Cypriani
c4db1808da
i18n: re-generate gcp.po, update fr.po
...
Also fixed some messages.
2018-06-20 17:13:45 +02:00
Matteo Cypriani
b83d37a5e9
Handle --preserve=all
2018-06-20 17:13:45 +02:00
Matteo Cypriani
2e0e8ba994
Add -p switch
2018-06-20 17:13:45 +02:00
Matteo Cypriani
d40548f287
Add -R switch
2018-06-20 17:13:45 +02:00
Matteo Cypriani
193a0e2784
gcp: reindent argparse code
2018-06-20 17:13:45 +02:00
Matteo Cypriani
307ffbea86
gcp: fix newline mangling in version message
2018-06-20 17:13:45 +02:00
Matteo Cypriani
e008689b9b
gcp: run 2to3
2018-06-20 17:13:45 +02:00
Matteo Cypriani
f436127427
gcp: update copyright & version
2018-06-20 17:13:45 +02:00
Matteo Cypriani
7fa513de68
Fix typo "invalide" in user message
2018-04-15 17:45:16 +02:00
Matteo Cypriani
cd317355f1
Actually convert to Python3
...
- Update shebang.
- Drop encoding line, useless in Python3.
- Use GObject rather than gobject.
2018-04-15 16:50:25 +02:00
Matteo Cypriani
ecfe87cd99
Add option --fs-fix=<auto|force|no>
...
Currently, the filesystem fixes are applied only for FAT, in which these
special characters (:, ", etc.) are actually forbidden. NTFS, however, will
allow you to create file names containing these characters, but Windows will
still be unable to deal with the files (even to rename them!).
--fs-fix=force will be useful when copying to a NTFS filesystem that will be
read on Windows.
--fs-fix=no is the same as --no-fs-fix.
--fs-fix=auto is the same as the current default behaviour (i.e. fix names only
for FAT).
2018-04-15 16:39:10 +02:00
Jingbei Li
45905e8f35
don't preserve any attributes by default
2018-04-15 16:10:54 +02:00
Jingbei Li
774f371070
migrate to python3
...
- updated .gitignore
- updated README to markdown format
- deprecated distribution
- updated optparse to argparse
- deprecated all coding functions
- fix some syntax errors
Now this package should be python3-only.
2018-04-15 16:10:54 +02:00
Matteo Cypriani
67469febfb
Strip trailing whitespaces
2018-04-15 16:10:54 +02:00
Goffi
3da160e582
update about's gcp's page
2011-06-21 15:12:41 +02:00
Goffi
a4d71cb78e
updated version number & changelog
2011-06-20 14:30:45 +02:00
Goffi
f2e43f64b6
fixed exit status
2011-06-20 14:25:08 +02:00
Goffi
22799d148d
exit status updated and shown in manpage
2011-06-20 12:57:15 +02:00
Goffi
4271439cab
non 0 return code on failure:
...
- return 2 if files have not been copied
- return 1 if file have been copied but errors occured
2011-06-20 02:57:54 +02:00
Goffi
bee2cd541d
gcp DIR1 DIR2 better handling:
...
- gcp DIR1 DIR2 where DIR2 exists is fixed
- special case gcp DIR1 DIR2 where DIR2 doesn't exist managed
- comments update
- refactore source_path in source_dir
2011-06-20 01:27:31 +02:00
Goffi
58d89ee8c0
version update
2011-06-16 15:40:16 +02:00
Goffi
018978efa4
Thomas Preud'homme email address update
2011-06-05 19:31:40 +02:00
Goffi
17bc3cee4d
removed bad fd close
2011-06-04 21:23:06 +02:00
Goffi
7e6efb49a9
fixed crash when source file can't be opened
2011-06-04 20:58:36 +02:00
Goffi
2f998e05a3
Symbolic link skipping
2011-06-04 20:55:44 +02:00
Goffi
d33f55103c
fixed crash when a source dir can't be accessed
2011-06-04 20:32:50 +02:00
Thomas Preud'homme
8e600353d7
os.stat precision fix
2011-06-04 19:28:57 +02:00
Goffi
5256579ac4
updated date in source code & README + updated links
2011-01-25 16:59:56 +01:00
Goffi
cac1417bbc
changed version to 0.1.1
2010-09-30 18:11:19 +08:00
Goffi
7226074954
Added 'gcp file dest_file' syntax management
2010-09-30 17:56:59 +08:00
Goffi
3df4c89e01
fixed bad closure when a file already exists
2010-09-30 16:44:52 +08:00
Goffi
7e6275ab07
removed color from copy failed error message
2010-09-30 16:27:28 +08:00
Goffi
ea3b75a565
Error are now shown after the end of the copy
2010-09-30 16:18:45 +08:00
Goffi
19e736d61c
Journal double-entry check + unicode source_path fix + typo
...
- journal now fail assertion when trying to write log whitout entry created, or when trying to create 2 entries without closing the first one
- unicode source_path are now fixed: there was a decoding error when trying to add an unicode source_path from a second instance of gcp
- small typo in --help page
2010-09-30 15:49:16 +08:00
Goffi
454c638727
--no-unicode-fix commented, and README update
2010-09-28 18:00:06 +08:00
Goffi
64b248e79c
fixed sources-replace
2010-09-28 16:10:34 +08:00
Goffi
dd56476732
Improved sources files management
...
- sources saving command are now shown in a group in --help and now start with --sources prefix
- moving sources saving management in a separate method
- added --sources-del
2010-09-28 16:07:45 +08:00
Goffi
13fd341c18
Fixed yet another utf-8 encoding issue + added a space on progress bar before percentage
2010-09-28 15:45:28 +08:00
Goffi
fdea18077f
Added sources files saving + misc
...
- source files can be saved to be replayed later
- gcp files are now in ~/.gcp (directory is created if needed)
- fixed an encoding error in a warning
2010-09-28 15:42:47 +08:00
Goffi
42efd0d775
Fixed KeyboardInterrupt management
2010-09-28 14:54:13 +08:00
Goffi
8980b5899d
lowered copy priority to DEFAULT
2010-09-28 14:40:27 +08:00
Goffi
8e2a58fa2f
Fixed double initialisation
...
- Journal and copy queue were started 2 times when new files were added throught DBus
2010-09-28 14:24:18 +08:00
Goffi
3917269a28
fixed encoding issue for a warning
2010-09-28 14:10:37 +08:00
Goffi
f8ca5c8e9c
- Added total size of files to copy in progress bar
...
- fixed an encodage error with DBus.String
2010-09-28 14:07:04 +08:00