Re: exclude option for rsync

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

 



On 10Nov2008 00:21, Ryan Sawhill <rsawhill+flist@xxxxxxxxx> wrote:
| > One little known feature of rsync is the fact that when run over a
| > remote shell (such as rsh or ssh) you can give any shell command as
| > the remote file list. The shell command is expanded by your remote
| > shell before rsync is called. [...]
| 
| Little-known indeed--I didn't know rsync could do that.. that's really cool.

I have mixed feelings about this coolness myself, having tripped over it
several times. It means that if you're trying to name
files-with-spaces-or-other-weirdness precisely you need to quote twice, once
locally as with any shell command, and then again for the remote shell. It's
doable, and even automatable (provided you trust there's a Bourne/POSIX shell
at the far end, otherwise of course the far end quote syntax will be
different...)

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

The only way to deal with bureaucrats is with stealth and sudden violence.
        - UN Secretary General Boutros-Ghali, _New York Times_ 15oct93

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux