/[sysadmin-cookbook]/recepies/netpipe-tcp/collect.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/netpipe-tcp/collect.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 98 by dpavlin, Mon May 25 21:14:59 2009 UTC revision 170 by dpavlin, Sat Feb 20 17:36:05 2010 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3  cat hosts | xargs -i sh -c "test -d {} || mkdir {} ; rsync {}:/tmp/*.np {}/"  cat hosts | xargs -i sh -c "test -d {} || mkdir {} ; rsync -v {}:/tmp/*.np {}/"
4  ls -al */*.np  ls -al */*.np

Legend:
Removed from v.98  
changed lines
  Added in v.170

  ViewVC Help
Powered by ViewVC 1.1.26