Join 3,503 readers in helping fund MetaFilter (Hide)


File Management
November 22, 2004 12:27 PM   Subscribe

File Management Filter - I'm looking for a piece of software (Windows XP / preferably free), that will:

1 - Create directories on a daily or weekly basis (i.e. 2211, 2311, 2411) to store downloaded files, and/or: 2 - Move the 'oldest' set of files to a subdirectory - or CD/DVD archive

Any ideas?
posted by mattr to Computers & Internet (3 answers total)
 
OK, perhaps overkill, but if you've got UNIX scripting experience, why not grab cygwin and write a nice little shell script to do this?

Other than that, I'm sure it can be done using windows scripting, but I have no further advice on that specific route.
posted by aberrant at 1:10 PM on November 22, 2004


If you go here there's a windows script to create a new directory with a name based upon the date. The moving of older files I'd probably do with a batch file (because I'm still getting to grips with WSH), using the task scheduler to call one or both.
posted by pompomtom at 2:29 PM on November 22, 2004


You could use Kixtart to run a script via your scheduler. Alternatively you could create a VB Script although I think Kix is easier if you're new to these things.

For example to create the folders in Kix you might want something like this (untested):

$day = substr(@date,9,2)
$month = substr(@date,5,2)
$foldername = $day + $month

md $foldername

If you need the script to download the files too then you can download wget and then use the shell command to call it.
posted by dodgygeezer at 2:34 PM on November 22, 2004


« Older Guitarists: What are some of y...   |  FontFilter: Can anyone identif... Newer »
This thread is closed to new comments.