Em 18-01-2014 16:44, Fernando de Oliveira escreveu: > Em 18-01-2014 16:12, Fernando de Oliveira escreveu: > >> mv -vi file(or dir){,.`date +%Y.%m.%d-%Hh%Mm%Ss`} > > To be more accurate: > > All my scripts but the old ones have a variable: > > DATE=`date +%Y.%m.%d-%Hh%Mm%Ss` > > which is used many times in log-names, dir-names, backups, etc. > >
This too much. Perhaps just the -i would do. But I would like to rhear from others, too. -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page