Document Versioning

Is there an easy batch script/program I can get to run fairly regularly to create a version of a document I’m working on?

I want to keep daily versions of my thesis (as I start writing it) and other important uni documents as I change them and I don’t want to use Syncback as it locks them down in a propertary format.

could knock you up a unix shell script easily enough… or is this windoze based ? :smiley:

Windows based.

Trouble is it’s easy in linux (I’d use a script similiar to that find and tar one you helped me with).

Maybe a Perl script that copies the file and renames the output with a ‘yyyymmdd’ (based on the system clock) as part of the file name. Put in Scheduled Tasks, and it should run like a cron job.

use a source hosting solution such as unfuddle - they have a free account that you get hosted SVN or CVS with some limitations but will suit you for your needs. Always nice to have it backed up elsewhere as well :wink:

DT.

Hmm Why not just make a bat file to copy work folder to folder with today’s date as the name. This why you have it backed up, and in order, and can go back to X date if needed.

Hard Drives are cheap enough to handle this or even a big USB STICK…ok just my two cents…

smartsvn = free
unfuddle = free

:smiley:

DT.

[QUOTE=STEP2000;439750]Hmm Why not just make a bat file to copy work folder to folder with today’s date as the name. This why you have it backed up, and in order, and can go back to X date if needed.

Hard Drives are cheap enough to handle this or even a big USB STICK…ok just my two cents…[/QUOTE]

Thats similiar to what I want. - However the issue I have, I don’t know how I can find only the changed files with a batch script.

Those SVN repositories seem good DT but I’ve no idea how to work them! Just had a look and I need to use svn import to send data to them?

install smartsvn
add a new project and use the url given to you by unfuddle.

Then all you need to do is open smartsvn and comitt your document when you want to take a version.

I might be simplifying it a touch, but there are loads of help files on unfuddle to get you started. SVN in my opinion is the best version control server, I run three different unfuddles that are paid for versions (consultancy) and we have our own subversion server at work with raid backups and a ticket system (trac). If I’m honest, unfuddle is trac with a much simpler and cleaner interface.

All I’m saying is that there are version control systems that are a heck of a lot easier to use than they used to be, so try out unfuddle :slight_smile:

DT.

Am I missing something here?

I did as you said, commited 2 files, then changed the files on my local PC then comitted them again. However I can only acess the current copies. It’s like it updated the file on the server without making a copy.

Also as it’s a manual process (however I’ve had a quick look and there’s a SVN.exe for Windows, I can write a script I guess.)

What format are these documents. If it’s a Word document, can you not write a VB script to save as different filename with date and time on exit?

It is word but it is also things such as a bib file (my bibliography, managed in Jabref) and other bits.

That and I know sod all VB :stuck_out_tongue:
However VB can be run as scheduled task cant it? That way I could try and write a standalone VB script.

tortoise svn and smartsvn both have explorer integrations, and to view different versions in svn, browse repository and enter a different version number :slight_smile:

DT.

Sorted, cheers :slight_smile:

EDIT:
Soltuion is a mix of DT’s and Syncback - I forgot in Syncback I can set variables. So the local cop searches for files changed in the last day and copies them to a folder in V:\Versions%DATE%

:slight_smile: