Re: Overwrite Output Directory?

Ben Hutchings <ben-/[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <1268964780.18314.45.camel@localhost>
On Wed, 2010-03-03 at 17:51 +1300, Lawrence D'Oliveiro wrote:
> Would it be useful to add a command-line option to dvdauthor to delete 
> the contents of the output directory if it exists?
> 
> Naturally this would be done safely, using the same logic as the 
> dvddirdel script—only delete files that look like part of a DVD-Video 
> directory structure, nothing else. (I’ve been burned by more general 
> directory-deletion functions myself :).)
> 
> Perhaps add a “-O” option which specifies the output directory like 
> “-o”, but also overwrites its contents, e.g.
> 
>      dvdauthor -o dir -x ctlfile
> 
> appends to any existing contents of dir, whereas
> 
>      dvdauthor -O dir -x ctlfile
> 
> would start dir afresh.

That seems like too subtle a difference.  There should be a separate
boolean option to erase the output directory.

Ben.

-- 
Ben Hutchings
If at first you don't succeed, you're doing about average.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
signature.asc (application/pgp-signature, 828 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUAS6Ldp+e/yOyVhhEJAQKiDhAAl2cBCBhAkdqO6nlo2rtoQHySSdHp6qvc
xyAGC9I9WMEpbfd2EbLlub1lz2QvsIKRhhi9rB5c55iBtAi94kH0Dsrt0qzvIR3K
38u7mOjkiMQ7u22mYrRN7LPeaGgKB94xkqbk8A3f897KC+vVgg72YGUZu6lz3PD6
qPH4uVehFRlzw2F5fx+BtESBOJcSoGgJTgGrrdSuL+V6xN5R5xbzDZyLUdtvfqd7
S3oKHC5Q32Nk6YIz010YGZfJk5s7/eeCzKbAPR+IxSVoNMhetp6wwcKJ1h4dNCtt
4TN0MTGydbdGgV8e9VevRey2z7DiqCfWaokv+fUOa1JeUQL6lzEvAjw+bvn8hA1L
8JmqRTzAM+nspRYqUrXMmMtsHRzDguwyjZ2z1V/RcgheEuH95BY5Ojx2ODaAznpd
6QHTBYP7CSG7VyJ3Q5qvBkjXjVv9Ni5vdr2Z20AbDLuSdF1XCW+ViekUU5Vy+DyS
aoXWmBA1DiaKPj1AifR52zR7z8fFBi2CvjFNl6JkWLbRvnDQOsdjAupwyLBdXISf
h5hIh74YqFO+kKc0/6TT3WOKiaTCMLMJKWUckOx9e+KZPY2Hk5Ii0f32v67FMuHQ
peSHu0OVpLUB4E1GNBDypEIazDez7ZfNZvWJv9UsxGsoppdSyJEz6/7YkwVJUBld
XqaPe8U1Suc=
=PVlp
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.