Termina Posted April 8, 2006 Report Share Posted April 8, 2006 Hey,I downloaded bsdtar for Win32, so I could use the backup script I'm familar with (on linux) with Windows 2000.I need to back up some files weekly, and having a static name isn't an option; I'd just end up overwriting the package every week, defeating the purpose of of it all.In linux, I'd give a command like this:tar cvzf /home/user/package-`date +%F`.tar.gz /home/user/public_htmlWhich would generate a file called 'package-2006-04-07.tar.gz'.However, I'm unable (with CMD) to do something similar.echo date /t only shows "date /t"echo `date /t` shows the sameas does "echo 'date /t'"If anyone could point me in the right direction, I'd appreciate it. :) Quote Link to comment Share on other sites More sharing options...
Termina Posted April 12, 2006 Author Report Share Posted April 12, 2006 Bump?Surely it's possible to run one command inside of another... =/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.