Sign in with
Sign up | Sign in
Your question
Solved

Batch move entire folders from one drive to another

Tags:
  • Hard Drives
  • Computers
  • Storage
  • HD
  • Security
  • Windows 7
Last response: in Windows 7
Share
July 14, 2014 7:02:38 PM

I have a computer that I use as a DVR for recording security footage. That hard drive that I live record to is 600GB. I have a separate hard drive with just over 8TB that I can store up to 2 months worth of footage on. Every 3 days, my live record hard drive fills up. Because of this, I need to move this footage over to my storage drive every 2 days. I am looking to write a batch file that can move entire folders with footage from my live record drive to my storage drive. I'm not asking this question without doing my own work. I've consulted my friend, Google, but up to now, the batch files that I've tried didn't work when I put them in Task Scheduler.

I could use some help (1) writing a .bat to move entire folders, and (2) a .bat file (or line within that same file?) to delete those folders from the live record drive to give me some much needed space!

I am a newb when it comes to batch files and their commands so I know all of you experts can be of great assistance. Thanks in advance! (Perhaps by the time I receive answers I'll have it figured out ;)  but right now I could really use the help!...)

More about : batch move entire folders drive

Best solution

a c 928 G Storage
a b 8 Security
a c 633 $ Windows 7
July 14, 2014 7:17:29 PM

Slightly different concept, but already built

SyncBack Free
http://www.2brightsparks.com/freeware/freeware-hub.html

Point it at a source and target, give it a schedule. Done.
Share
July 15, 2014 1:36:41 PM

Thanks, USAFRet! Hadn't thought of simply using a backup software. Though, this method still requires me to manually delete the folders once they're backed up. Thanks for your input!

m
0
l
Related resources
a c 928 G Storage
a b 8 Security
a c 633 $ Windows 7
July 15, 2014 5:30:03 PM

Manually, or on automatic unattended via the above application.
Your choice.
m
0
l
July 15, 2014 6:06:06 PM

USAFRet said:
Manually, or on automatic unattended via the above application.
Your choice.

Ok, understood. I can sync the folders to the storage drive with this program, but I would still need to create a batch file that would delete folders that are older than, say, 2 days. Can you point me in a direction to accomplish this?

I'm still searching and experimenting but some help from an expert would be appreciated...
m
0
l
a c 928 G Storage
a b 8 Security
a c 633 $ Windows 7
July 15, 2014 6:10:21 PM

puttputtus said:
USAFRet said:
Manually, or on automatic unattended via the above application.
Your choice.


So SyncBackFree doesn't just copy the folders, it moves them to the other drive? Because my hang up is that I can't have those folders in my live record drive, I need them moved permanently to the storage drive...


It will copy files and or folders.
I'd have to look to see if it will also delete the source location.
m
0
l
July 15, 2014 6:17:32 PM

puttputtus said:

It will copy files and or folders.
I'd have to look to see if it will also delete the source location.


Yea, don't think it will delete the source. I'll need to write a batch file for that and throw it in Task Scheduler. Doesn't sound that difficult, but...lol

m
0
l
a c 928 G Storage
a b 8 Security
a c 633 $ Windows 7
July 15, 2014 6:17:39 PM

In the paid version, there is a Move function. As in 'Delete from the source after copying'.
m
0
l
July 22, 2014 5:48:43 PM

USAFRet said:
In the paid version, there is a Move function. As in 'Delete from the source after copying'.


Just to be clear for anyone reading this thread, SyncBack Free did not exactly solve my problem.

I installed SyncBack and set it up with its integrated Task Scheduler wizard to backup my files at 3:00 am. When I got to the computer in the morning, my computer had crashed and was having trouble booting into Windows. I am reluctant to completely put the blame on SyncBack because it very possibly could have been as a result of me wrongly configuring a setting in SyncBack. User error! Unfortunately, I'm not perfect. However, in order to avoid another crash, I uninstalled SyncBack and have been cut+pasting the files manually. As of the time of this post, I am still looking for a batch command that will automate the cut+paste action every 2 days for me. Hopefully in the near future I can get this thing figured out.

Many thanks to USAFRet, however, for the help!
m
0
l
a c 928 G Storage
a b 8 Security
a c 633 $ Windows 7
July 22, 2014 5:52:01 PM

Interesting. I have never seen that application cause a crash.
m
0
l
!