On 2009-07-28 09:35 +0200, Robert Holtzman wrote:
On Tue, 28 Jul 2009, Ron Johnson wrote:
rsync -vaHz --exclude '/proc' --exclude '/sys' -- exclude '*.iso'
Look *very* *carefully* at this line.
--exclude '/media' / /media/disk/laptop
and see how it differs from this line.
If you mean the space between "--" and "exclude '*.iso" that's
obviously a screw up *but* it works.
Not really, it causes all following arguments to be treated as filenames
rather than options. This is likely to cause errors (because files
named 'exclude', '*.iso', and '--exclude' probably do not exist), but
since you've used the -v switch, the error messages drown in the list of
files that are successfully transferred.