update May 25, 2011
NAME
dat2ace.py - Create File objects for all files in a directory
SYNOPSIS
dat2ace.py $BIRCH/dat/dirname
dat2ace.py $BIRCH/local/dat/dirname


DESCRIPTION

This script is a shortcut way of entering information for many data files into a birchdb database. For each file in the target directory, write a File object to the file datfiles.ace, in the target directory. datfiles.ace can be read in birchdb or lbirchdb in the Edit --> Read .ace file menu. File can then be added to Program or Package objects.

The target directory dirname is the name of a directory either in $BIRCH/dat or $BIRCH/local/dat.  The safest way to run this command is to use the environment varibles, as shown in the SYNOPSIS.

EXAMPLE
If the directory $BIRCH/local/dat/fasta contains the file 'fastalibs', the following File object will be written to datfiles.ace:
File : "$BIRCH\/local\/dat\/fasta\/fastalibs"
Pick_me_to_call "$ACE_FILE_LAUNCHER" "$BIRCH\/local\/dat\/fasta\/fastalibs"

NOTES
  1. It is always a good idea to examine datfiles.ace in a text editor before reading it into the database. For example, you may wish to delete some File objects, or create new ones before reading this file into the database.
  2. In .ace files, all Unix seperator characters are escaped using the '\' character.

SEE ALSO
doc2ace.py
 
AUTHOR
Dr. Brian Fristensky
Department of Plant Science
University of Manitoba
Winnipeg, MB  Canada R3T 2N2
frist@cc.umanitoba.ca
http://home.cc.umanitoba.ca/~frist