--- /dev/null
+bin_PROGRAMS = lsbackups
+
+bin_SCRIPTS = find-cmd.sh
+
+EXTRA_DIST = $(bin_SCRIPTS)
+
+lsbackups_SOURCES = main.cc
+
+AM_CPPFLAGS = $(SQLITE3_CFLAGS)
+LDADD = $(SQLITE3_LIBS)
--- /dev/null
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Version number of package */
+#undef VERSION
--- /dev/null
+AC_INIT([inc-backups], 0.1)
+AC_CONFIG_HEADERS([config.h])
+AC_COPYRIGHT([(c) Carl Baldwin. All Rights Reserved. ])
+
+AM_INIT_AUTOMAKE([foreign -Wall])
+
+PKG_CHECK_MODULES([SQLITE3], [sqlite3])
+
+AC_PROG_CXX()
+AC_PROG_INSTALL()
+AC_PROG_RANLIB()
+
+AC_CONFIG_FILES( [Makefile] )
+
+AC_OUTPUT
#!/bin/sh
-time find /server/home \
+time find . \
\( -type d -o -type f -o -type l \) \
-printf "%y %#m %g %u %s %CDT%CT %p\0" > list
--- /dev/null
+#include <iostream>
+#include <algorithm>
+
+using namespace std;
+
+int main() {
+ string file_string;
+ do {
+ file_string.clear();
+ for( int c = cin.get(); 0 != c && ! cin.eof(); c = cin.get() ) {
+ file_string.push_back( c );
+ }
+ if( 0 != file_string.size() ) {
+ cout << file_string << endl;
+ }
+ } while( ! cin.eof() );
+}