/[cvs]/nfo/perl/scripts/shortcuts/upload.pl
ViewVC logotype

Annotation of /nfo/perl/scripts/shortcuts/upload.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Mon Jan 20 21:24:33 2003 UTC (21 years, 5 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
+ some convenient shortcut-scripts around tar and scp - please this path to your PATH to get maximum satisfaction out of it!

1 joko 1.1 #!/usr/bin/perl
2    
3     ## --------------------------------------------------------------------------------
4     ## $Id: feed.pl,v 1.3 2003/01/20 16:29:48 joko Exp $
5     ## --------------------------------------------------------------------------------
6     ## $Log: feed.pl,v $
7     ## --------------------------------------------------------------------------------
8    
9    
10     use strict;
11     use warnings;
12    
13     BEGIN {
14     use FindBin qw($Bin);
15     use lib qw(
16     $Bin/../../libs
17     );
18     }
19    
20     # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - main
21    
22     use org::netfrag::shortcuts qw(
23     run_cmd run_cmds
24     );
25    
26    
27     my $arg1 = shift;
28     die "Please specify item to release on the command-line." if !$arg1;
29    
30     my $cmd = 'scp ' . $arg1 . ' joko@netfrag.org:/home/joko/public_html/computing/releases/01-snapshots/';
31     run_cmd($cmd);
32    
33     1;
34     __END__

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed