moonlit Posted November 12, 2007 Posted November 12, 2007 USB Backup for Windows NT Version 1.3.0: This time it's functional. Everyone seems to want a USB backup tool these days, so here's one. Light as a feather and easy to modify. Usage: Save as backup.bat, run "backup <source> <destination>" (both parameters required). Alternatively, launch as a normal app and follow the prompts. @echo off color 1F cls echo. echo ÉËËËËËËÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍËËËËËË» echo ̼Éͻȼ ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ȼÉͻȹ echo Ìͺ ºÍÍ͹ USB Backup for Windows NT v1.3.0 ÌÍÍͺ ºÍ¹ echo Ì»Èͼɻ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ É»Èͼɹ echo ÈÊÊÊÊÊÊÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÊÊÊÊʼ echo. echo. if "%1"=="" goto ask set s="%1" set d="%2" :do echo. echo. echo Copying all files and folders: echo ³ echo ô Source Disk: %s% echo À´ Destination: %d% xcopy %s% %d% /S /E /C /H /G /Q /Y >NUL echo. echo. echo Done. echo ³ set /P x= À´ Press Enter to exit. set s= set d= set x= set %1= set %2= color cls exit :ask echo Enter source and destination paths: echo ³ set /P s= ô Source Disk: set /P d= À´ Destination: goto do Quote
Sparda Posted November 12, 2007 Posted November 12, 2007 Now for the same thing in a bash script with rsync, go Moonlit ;) Quote
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.