Skip to content

Commit 71a0f57

Browse files
committed
Prints files to be copied now. No need to send -v.
1 parent bb36ff2 commit 71a0f57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gigasync

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ my $exclude_pattern;
4444
my $verbose;
4545

4646
# DON'T INCLUDE ANY OPTIONS THAT INFER --recusive (like --archive)!
47+
# ALSO, THE SCRIPT WRITES THE FILES THAT WILL BE COPIES SO NO NEED TO
48+
# INCLUDE -v (VERBOSE) MODE.
4749

4850
my $rsync_options = '-lptgoD --no-implied-dirs --log-format="%t %f (%l bytes)" ';
4951
$rsync_options .= $ENV{RSYNC_OPTIONS} if $ENV{RSYNC_OPTIONS};
@@ -111,6 +113,7 @@ sub do {
111113
my $rel_file = $File::Find::name;
112114
$rel_file =~ s:^\Q$src_dir/::;
113115
print $OUT $rel_file . "\n";
116+
print "$rel_file\n";
114117
if ($st->size + $batchsize >= $run_size) {
115118
run_rsync();
116119
new_srclist();

0 commit comments

Comments
 (0)