software to record cd/dvd depending on the size of a folder
Matt Morgan
minxmertzmomo at gmail.com
Tue Apr 1 14:06:25 UTC 2008
On Tue, Apr 1, 2008 at 8:36 AM, Luca Ferrari <fluca1978 at infinito.it> wrote:
> Hi all,
> I don't know if there's a software to do this: I'd like to monitor one (or
> more) folders on a disk, and to make a backup copy on a dvd once the size
> of
> the folder has reached an appropriate value (~4GB), removing then the
> recorded files. Any suggestion?
This is a relatively easy shell-scripting task. Of course, I say that having
not tried it myself, and I'm not familiar with command-line commands to
write dvds (although I know they exist). I would write a script that runs
find (using +size) or du, whichever works better, parses the results, and
then writes to DVD and removes from disk as necessary. You could set it up
to run in cron, if you want (although that would mean having a blank DVD in
the drive).
I would probably write it so that the files aren't deleted automatically,
but rather compressed, archived, and moved somewhere else for later deletion
by me after I had checked the DVD. But there's obviously a disk space and/or
time cost to that, and maybe it's not necessary in your case.
--Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080401/17edc850/attachment.html>
More information about the ubuntu-users
mailing list