Welcome Guest

Notification

Icon
Error

Forum Jump  
How to delete files older than x days from my recorded files folder
Options
GeoffH  
Posted : Friday, July 13, 2012 7:14:48 AM(UTC)
Joined: 7/6/2012(UTC)
Posts: 1
Location: United Kingdom


I've successfully configured the 24/7 recording and save the hourly videos on an external hard drive.

How can I make sure that the disk is not full, preventing new videos from being stored? Can I automatically delete videos that are older than 30 days?
DeskShare - Support  
Posted : Wednesday, July 18, 2012 9:42:40 PM(UTC)
DeskShare - Support

Rank: Administration

Joined: 2/27/2004(UTC)
Posts: 1,755

Was thanked: 29 time(s) in 25 post(s)

If you are using My Screen Recorder Pro's scheduling system to create your recordings, you can use a simple command line to remove files older than x number of days from your PC before beginning the recording.

Here is an example command line to delete recorded WMV files over 30 days old from the E:\Recordings folder:

forfiles /p E:\Recordings /s /m *.wmv /d -30 /c "cmd /c del @file"

Change the E:\Recordings to the correct folder name where your recordings are stored.
Rss Feed  Atom Feed

Copyright © DeskShare Incorporated.  All rights reserved.