On Sat, May 11, 2013 at 10:31:20PM -0400, Alan Corey wrote: > > Date: Fri, 10 May 2013 19:47:45 -0400 > > From: James Turner <ja...@calminferno.net> > > To: ports@openbsd.org > > Subject: new: backdir-20135056 > > Message-ID: <20130510234745.gc22...@soekris.calminferno.net> > > > > Attached is a new port for backdir a simple tool that backs up normal > > files in the current directory to a backups folder. Think of it as a > > poor mans vcs. Tested on amd64 and loongson. oks? > > > > Information for inst:backdir-20135056 > > > > Comment: > > backs up files in a directory > > > > Description: > > Backdir is a simple tool that backs up every normal, non-executable file > > in the current directory to a subdirectory named "backups", creating the > > directory if it doesn't already exist. It uses the files last modified > > date and time as part of the filename. If a file hasn't been changed > > since the last time backdir was ran the file will be skipped. > > > > Maintainer: James Turner <ja...@calminferno.net> > > > > WWW: http://ab1jx.webs.com/calcs/backdir/index.html > > > > -- > > James Turner > > > > > > [Attachment of type application/x-tar removed.] > > > > ------------------------------ > > > > Date: Sat, 11 May 2013 10:32:32 +0100 > > From: Stuart Henderson <st...@openbsd.org> > > To: James Turner <ja...@calminferno.net> > > Cc: ports@openbsd.org > > Subject: Re: new: backdir-20135056 > > Message-ID: <20130511093232.gg28...@symphytum.spacehopper.org> > > > > On 2013/05/10 19:47, James Turner wrote: > >> Attached is a new port for backdir a simple tool that backs up normal > >> files in the current directory to a backups folder. Think of it as a > >> poor mans vcs. Tested on amd64 and loongson. oks? > >> > >> Information for inst:backdir-20135056 > > > > s/20135056/20130506/ > > > > Should honour CC as well as CFLAGS, and no need for the > > INSTALL_PROGRAM_DIR, rest looks good (this could really do > > with a manpage though). > > > > I'll set about writing a manpage, thanks for the testing. > > I have a newer version (of the tarball) dated May 9 that I'll get > uploaded tonight. It attempts to address the *.tar.gz naming > situation by looking for .tar. first and making a special case of it, > otherwise it does strchr() and looks for the last period. It puts the > date and time wherever the first non-null pointer is, otherwise at the > end. > > I don't know if it's a name conflict, but I'd prefer to call the > actual executable file just bd. The port name is fine, but part of > the object is to have it quick and easy to use. 3 keystrokes and it's > done. Kind of like netcat goes as nc. > > I pirated a real copyright message and stuck that in too. > > The latest tarball is at > http://ab1jx.webs.com/calcs/backdir/backdir20130609.tar.gz > > Alan > -- > Credit is the root of all evil. - AB1JX >
bd it is. Also, should that tarball be 20130509 not 06? -- James Turner