Re: rights messed up after moving installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 07.11.2012 00:16, schrieb lee:
> Reindl Harald <h.reindl@xxxxxxxxxxxxx> writes:
>> oversimplyfied:
>> * on both sides a rsync-process is running
>> * both are making a checksum of the same data-area
>> * let's say 250 blocks
>> * only this cheksum is transmitted and decides transmit data itself
>> * attributes are also listed on both sides and compared
> 
> I thought it works like this, which involves reading all the files on
> both sides.  For the purpose of copying files from one place to another
> on the same machine, I'm wondering if it might be more efficient to go
> by file modification times and file size 

it does usually!

you can force --checksum as param
-c, --checksum  skip based on checksum, not mod-time & size

but that does not change the fact that it syncs attributes too
without --checksum, i am using --checksum once per month to
make sure all is 100% consistent

rsync --help
man rsync

there are really A LOT of parameters

--dry-run as first one to test what happens in combination
with --progress / --verbose

"--times --update --perms --owner --group" without delete is
my favorite if i have to make small changes on php-modules to sync
back only my changed files and prevent overwrite files in upload-areas
while the worst-case here is that i push back a deleted file but users
not often delete anything :-)

"--exclude=folder1 --exclude=folder2" is also nice

-W, --whole-file copy files whole (without delta-xfer algorithm)
amkes sometimes sense if the checksum stuff is overhead for sure

--exclude=PATTERN       exclude files matching PATTERN
--exclude-from=FILE     read exclude patterns from FILE

 -b, --backup                make backups (see --suffix & --backup-dir)
     --backup-dir=DIR        make backups into hierarchy based in DIR
     --suffix=SUFFIX         set backup suffix (default ~ w/o --backup-dir)

finally: a swiss knife for dealing with file transfers


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux