how to catch this file name #something#

Kevin Korb kmk at sanitarium.net
Wed Dec 31 15:55:40 MST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am completely confused about what you are asking for here.  Rsync
uses patterns with some special additions that are only similar to
shell globbing.  If you have a file named "#something#" then any of
the following in an exclude-from file would match it:
#something#
*#*
#*#

On 12/31/2014 05:49 PM, Harry Putnam wrote:
> Trying to cat filenames like #something#. neither of the things I 
> thought up work.
> 
> *#* "#"*
> 
> At least the second one above does work in a ls command like:
> 
> ls "#"* #something#
> 
> I understood an exclude file would use shell globbing and such.
> 
> So what am I doing wrong?
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlSkfuwACgkQVKC1jlbQAQeLcQCg12ePFrczh9AxXd8rbTCgY/a2
BewAoJPMEEyDVlTYb3l/WFoBSUu9IMUz
=vDIM
-----END PGP SIGNATURE-----


More information about the rsync mailing list