From 35bb61f576b71c92bd6b7c9f27285c46acaab43f Mon Sep 17 00:00:00 2001 From: Silverwizard Date: Thu, 9 Oct 2014 14:54:10 -0400 Subject: [PATCH] Making sure things up to date --- Podcast Create.pl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 Podcast Create.pl diff --git a/Podcast Create.pl b/Podcast Create.pl new file mode 100755 index 0000000..100b2bc --- /dev/null +++ b/Podcast Create.pl @@ -0,0 +1,21 @@ +#!/usr/bin/perl +use strict; +use warnings; + +open(my $fh, ">>Arcology.rss") or die "File:$!"; +my $i = 0; +while($i < $#ARGV+1){ + print $fh "\t\t\n"; + print $fh "\t\t\t $ARGV[$i] \n"; + print $fh "\t\t\t $ARGV[$i] \n"; + print $fh "\t\t\thttp://offsite.obscuritus.ca/Arcology/$ARGV[$i]\n"; + print $fh "\t\t\thttp://offsite.obscuritus.ca/Arcology/$ARGV[$i]\n"; + my $length = `ls -l $ARGV[$i] |cut -d ' ' -f 5`; + chomp($length); + print $fh "\t\t\t\n"; + + $i++; + print $fh "\t\t\n"; +} +print $fh "\t\n"; +print $fh "";