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

Re: copy many files filtering extensions



> I have to periodically copy a lot of files filtering them by their
> extensions (something like cp * but *.bak). How can I do that (as I can
> read from cp' man or info page this is not possible)?

you could try rsync, it has an --exclude=<regexp> option

apt-get install rsync
man rsync

greetz,

Joris



Reply to: