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.


-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to