D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Makefiles - mv with wildcard that may not match anything

 

James Fidell wrote:
> Something like:
> 
> clean:
>       mkdir -p .backups
>       -mv -f *~ .backups

Is there supposed to be a '-' in front of the mv line? If not, that 
doesn't work, because -f on mv doesn't work like it does on rm.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html