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

Re: rsync issue



Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> [...] the following is good for me:
>
>  $ cd
>  $ rsync -vrtul --delete --exclude='.*' . 192.168.0.2:/home/rodolfo


Sorry, it's still bad for me.  I want to copy everything but top level hidden
files, i.e. hidden files from my home directory.  The above command excludes
all hidden files from anywhere.  How can I achieve what I want?  I tried with:

 --exclude='./.*'

but it doesn't work either, because it includes hidden files from `~/'.

Thanks for any help
Rodolfo


Reply to: