teel / stasiscl

Automatically exported from code.google.com/p/stasiscl
0 stars 0 forks source link

Options in stasiscl to report files/directories added in that parse #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be extremely valuable to those of us that generate the reports,
then upload them to servers to have stasiscl generate the list of
directories and/or files that are created so it can be used as part of a
pipeline of processing.

Right now to get my updated files I look at the file creation/modification
and upload those, but if stasiscl would give me a listing, I could pipe
that directly to zip and magically create archives, which are then faster
and easier to upload.

Then, with the magic of ssh, I could automate the entire thing from
creation, archiving, transfer and unzipping on the server without having to
resort to playing with timestamps.

Original issue reported on code.google.com by jon.j.ea...@gmail.com on 11 Sep 2008 at 12:58

GoogleCodeExporter commented 8 years ago
Can you look through standard error for things like sws-xxx-yyy? It should 
print out the names of all directories 
it writes to stderr. Try something like:

./stasis add -file log.txt  2>&1 | perl -ne 'print "$1\n" if 
/\((sws-[\w\d-]+)\)/;'

If this is not sufficient then post another comment.

Original comment by gianmerlino@gmail.com on 12 Sep 2008 at 2:42

GoogleCodeExporter commented 8 years ago

Original comment by gianmerlino@gmail.com on 14 Sep 2008 at 1:49

GoogleCodeExporter commented 8 years ago
stderr is not accessible from DOS - a minor inconvenience for me because I can 
use
cygwin - but it's not a very portable solution.

Original comment by jon.j.ea...@gmail.com on 14 Sep 2008 at 3:19