/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (show annotations)
Mon May 25 21:14:59 2009 UTC (14 years, 11 months ago) by dpavlin
File MIME type: application/x-sh
File size: 102 byte(s)
collect all /tmp/*.np files from hosts

1 #!/bin/sh
2
3 cat hosts | xargs -i sh -c "test -d {} || mkdir {} ; rsync {}:/tmp/*.np {}/"
4 ls -al */*.np

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26