aboutsummaryrefslogtreecommitdiffstats
path: root/drive/sync_upload.go
diff options
context:
space:
mode:
authorPetter Rasmussen2016-02-08 23:05:11 +0100
committerPetter Rasmussen2016-02-08 23:05:11 +0100
commitdb952bdd07a69023f6fcc18f4de4ed0bfba5d319 (patch)
treebe9bdfdb5bbbebf6ee0ea686be189f1670c10910 /drive/sync_upload.go
parent48221145e64d65fb7afc1dba40e6f41bb7b76e7d (diff)
downloadgdrive-db952bdd07a69023f6fcc18f4de4ed0bfba5d319.tar.bz2
Print relative path, etc
Diffstat (limited to 'drive/sync_upload.go')
-rw-r--r--drive/sync_upload.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/drive/sync_upload.go b/drive/sync_upload.go
index f5bc48b..ca81b5c 100644
--- a/drive/sync_upload.go
+++ b/drive/sync_upload.go
@@ -179,7 +179,7 @@ func (self *Drive) uploadMissingFiles(files *syncFiles, args UploadSyncArgs) err
return fmt.Errorf("Could not find remote directory with path '%s'", parentPath)
}
- fmt.Fprintf(args.Out, "[%04d/%04d] Uploading %s -> %s\n", i + 1, missingCount, lf.absPath, filepath.Join(files.root.file.Name, lf.relPath))
+ fmt.Fprintf(args.Out, "[%04d/%04d] Uploading %s -> %s\n", i + 1, missingCount, lf.relPath, filepath.Join(files.root.file.Name, lf.relPath))
if args.DryRun {
continue
@@ -203,7 +203,7 @@ func (self *Drive) updateChangedFiles(files *syncFiles, args UploadSyncArgs) err
}
for i, cf := range changedFiles {
- fmt.Fprintf(args.Out, "[%04d/%04d] Updating %s -> %s\n", i + 1, changedCount, cf.local.absPath, filepath.Join(files.root.file.Name, cf.local.relPath))
+ fmt.Fprintf(args.Out, "[%04d/%04d] Updating %s -> %s\n", i + 1, changedCount, cf.local.relPath, filepath.Join(files.root.file.Name, cf.local.relPath))
if args.DryRun {
continue