Created
February 13, 2011 22:50
-
-
Save eurica/825248 to your computer and use it in GitHub Desktop.
Automated backup script for Android smartphone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set destdir=G:\autobackups | |
set devicefile=htc_desire | |
for %%d in (E F G H I J K L) do ( | |
if exist %%d:\%devicefile% ( | |
echo %%d is the %devicefile% | |
xcopy %%d:\ "%destdir%\%devicefile%" /V /E /D /C /I /Y > %destdir%\%devicefile%\lastbackup.txt | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment