[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Neil Williams wrote: > Simon Williams wrote: >> Hello everyone. >> >> I'm trying to add something to make clean that will move all *~ files >> into a .backups dir. The problem is that I don't want make to return an >> error if I run make clean when there are no ~ files. > > Use find - it does not return an error code if no files exist, all the > other methods (ls, grep etc) do. Oh of course! Now why didn't I think of that. Thanks -- 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