similar to: Question/comment about -n (dry run) flag of rsync

Displaying 20 results from an estimated 20000 matches similar to: "Question/comment about -n (dry run) flag of rsync"

2020 Mar 10
1
Question/comment about -n (dry run) flag of rsync
raf via rsync wrote: > T. Shandelman via rsync wrote: > > > Rsync is a remarkably handy tool that I use virtually every day. > > > > But there is one thing about rsync that drives me totally crazy. > > > > Under the -n (dry run) flag, rsync seems to produce exactly the same output > > as without that flag. > > > > I cannot tell you how
2020 Mar 10
0
Question/comment about -n (dry run) flag of rsync
T. Shandelman via rsync wrote: > Rsync is a remarkably handy tool that I use virtually every day. > > But there is one thing about rsync that drives me totally crazy. > > Under the -n (dry run) flag, rsync seems to produce exactly the same output > as without that flag. > > I cannot tell you how many times I sit and scratch my head long and > hard,after I discover
2019 Apr 14
1
Improved output (dry run)
Please improve (default) output for *--dry-run*. Specifically, it would be nice to imply *-v* since dry runs without displaying anything make no sense. Further (independently from dry run), it would be nice to have an option to hide directories which did *not* change. The need to *grep* results is really frustrating and error prone. Thanks a lot! -------------- next part -------------- An HTML
2007 May 22
3
rspec_on_rails'' spec:doc and dry runs
In rspec_on_rails, the spec:doc task uses --dry-run, which doesn''t jive well with rspec''s ability to write docs for you. For example, I use the rspec_expectation_matchers plugin from spicycode.com (scanned for a name, didn''t find one =), and end up writing specs like: it { @ticket.should validate_presence_of(:name) } Which results in specdocs such as: Ticket
2007 Nov 05
1
Rsync shouldn't display a meaningless speedup on a dry run
On a dry run, rsync displays a speedup value calculated from the total size of the source file data and the amount of data sent over the connection, but this value is meaningless and grossly misleading because the file data is not sent over the connection. Example: [matt@mattlaptop2 test]$ rsync -avi -n ~/eclipse/releases/eclipse-SDK-3.3-linux-gtk.tar.gz . sending incremental file list
2014 Dec 21
2
How to force checksum in dry-run
I want to use rsync to diff two folders (with checksum) by using dry-run and itemize changes like this: rsync -rni --checksum /dir1/ /dir2/> ~/Desktop/diff.log However, I read that in --dry-run rsync wont do checksums. Is this true? If it is, is there a way to force checksums i dry-run mode?
2014 Aug 30
1
Cleanest way to find out if it was a --dry-run
Hi, As far as I can see, the only way you can tell it's been a dry-run at the receiver-side, is to parse RSYNC_ARGs in the pre-xfer script. I think the only way is to crawl through the RSYNC_ARGs to find a value which: - starts with a single dash, and; - contains 'n', and; - comes prior to the "." value, signifying the start of the 'path args' (which seem inherently
2007 Nov 11
1
dry-run bytest to be transferred?
Is there anyway on a dry-run to actually see per file how many bytes are to be transferred? On a normal run I use --log-format=/%f/%l/%b/%i which shows the total file size and the actual bytes transferred. Also, during a dry-run, is there anyway to show the Literal Data? Basically, I'm trying to calculate something before the actual run takes place. Dry-run is telling me which files have
2018 Dec 30
1
--dry-run won't say where the files are going to go
Try as we may (--dry-run), it still won't tell us where it intends to put the files, $ rsync --dry-run --remove-source-files --relative --verbose --itemize-changes -Cavz Maildir/new /tmp/ sending incremental file list delta-transmission disabled for local transfer or --whole-file cd+++++++++ Maildir/ cd+++++++++ Maildir/new/ >f+++++++++ Maildir/new/1546157908.1392_1.jidanni7 total:
2020 Feb 09
3
[draft PATCH] whitelist support for refuse options
This adds support for whitelisting the acceptable options in the "refuse options" setting in rsyncd.conf. It introduces "!" as a special option string that refuses most options and interprets any following strings as patterns of options to allow. For example, to allow only verbose and archive: refuse options = ! verbose archive The "!" does't refuse no-iconv,
2014 Dec 21
1
How to force checksum in dry-run
I chose rsync over diff -r because diff -r is a binary comparison and it takes longer than creating a checksum. Isn't that correct? I did not understand this: > Rsync isn't even smart enough to not bother checksumming things that don't even have a comparison file. --checksum seems to work as you say even in --dry-run mode. At least it takes a lot of time, which should be a good
2007 Sep 16
5
"rake spec:doc" returns NO NAME (due to --dry-run) for each specify block
I went ahead and moved to the trunk versions of RSpec and Spec:Rails because I wanted to try out the new Story Runner feature. However, when I tried to do "rake spec:doc", I got the following: AccountController - NO NAME (Because of --dry-run) AccountHelper - NO NAME (Because of --dry-run) User (in general) - NO NAME (Because of --dry-run) - NO NAME (Because of --dry-run) - NO NAME
2005 Jan 21
0
[Bug 1433] The --dry-run (-n) option doesn't report some directory changes
https://bugzilla.samba.org/show_bug.cgi?id=1433 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From wayned@samba.org 2005-01-20 19:32
2014 Jun 13
1
--dry-run reliability ?
Hi, I'm using rsync to backup my files. I have also added a pre-backup step where the script checks if there is enough space on the destination for rsync to run successfully. The goal is to make room (delete oldest backups) if that's not the case. I'm running rsync with -ahAXS --numeric-ids --link-dest options. For my pre-backup step, I'm currently using the same options +
2003 Oct 22
1
rsync --dry-run --link-dest problem
I am trying to use rsync for making snapshots, sharing hardlinks at the destination using the --link-dest option. In conjunction with this, I would like for --dry-run to report some reliable-ish number for how much space it is going to consume at the destination so that I can arrange to free such space prior the launching rsync "for effect". Right now, that isn't working: #
2006 Jul 17
6
DRY? Converting Boolean to Yes/No
I have a database column given as: t.column :change_address, :boolean The user interacts with this using a checkbox, but wants confirmations to read: Change address: Yes In an isolated case something like: @obj.change_address ? ''Yes'' : ''No'' Would work fine but this is peppered throughout scads of forms and boolean fields. The first step I took at DRYing
2020 Sep 27
1
rsync 3.1.3 dry run bug?
Since Ubuntu 20.04 (focal) the rsync option -n (Dry Run) is not working correctly. --- rsync --version rsync? version 3.1.3? protocol version 31 ---- I used this command for about ten years without mayor issues: --- rsync -vaHEiuzn --skip-compress=jpg,JPG,mov,MOV,mp4,MP4,m4v,avi,png --exclude=*.pyc --exclude='somedir/**/.gps.cnf' --exclude='somedir/**/clonezilla' --stats
2015 Apr 01
3
[Bug 11189] New: dry run gives incomplete log
https://bugzilla.samba.org/show_bug.cgi?id=11189 Bug ID: 11189 Summary: dry run gives incomplete log Product: rsync Version: 3.0.9 Hardware: x64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter: riquet at
2005 Mar 28
2
"batched dry-run"... sort of
I'd like to know if it's possible to run rsync in batch mode, but avoiding transferring the deltas, just generating the batch file. I'm looking for such a behaviour because overnight backup sessions are often interrupted and daily snapshots (--link-dest) of remote servers are truncated. Specially the ones using slow links. Options: 1) Using -write-batch when mirroring volume
2018 Aug 21
2
[Bug 13587] New: Add a --dry-run way to show destination for each item
https://bugzilla.samba.org/show_bug.cgi?id=13587 Bug ID: 13587 Summary: Add a --dry-run way to show destination for each item Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org