./bashpodder.shell [..] No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



what does it mean that there's no such file or directory as the error
gives? I'm listening to the podcast which bashpodder downloaded, but I
don't understand the error:

[thufir@localhost bashpodder]$
[thufir@localhost bashpodder]$ pwd
/home/thufir/bashpodder
[thufir@localhost bashpodder]$ ll
total 44
drwxrwxr-x  2 thufir thufir 4096 Mar 14 07:00 2006-03-14
-rwxrwxr-x  1 thufir thufir  879 Mar 14 06:53 bashpodder.shell
-rw-rw-r--  1 thufir thufir   44 Mar 14 07:00 bp.conf
-rw-rw-r--  1 thufir thufir  316 Mar 14 06:55 parse_enclosure.xsl
-rw-rw-r--  1 thufir thufir    0 Mar 14 06:59 podcast.log
-rw-rw-r--  1 thufir thufir   60 Mar 14 07:16 temp.log
[thufir@localhost bashpodder]$ ./bashpodder.shell
./bashpodder.shell: line 15:
http://lottalinuxlinks.com/podcast/rss.xml: No such file or directory
[thufir@localhost bashpodder]$ cat bashpodder.shell -n
     1  # datadir is the directory you want podcasts saved to:
     2  datadir=$(date +%Y-%m-%d)
     3
     4  # create datadir if necessary:
     5  mkdir -p $datadir
     6
     7  # Delete any temp file:
     8  rm -f temp.log
     9
    10  # Read the bp.conf file and wget any url not already in the
podcast.log file:
    11  while read podcast
    12          do
    13          file=$(xsltproc parse_enclosure.xsl $podcast 2>
/dev/null || wget -q
    14  $podcast -O - | tr '\r' '\n' | tr \' \" | sed -n
's/.*url="\([^"]*\)".*/\1/p')
    15          for url in $file
    16                  do
    17                  echo $url >> temp.log
    18                  if ! grep "$url" podcast.log > /dev/null
    19                          then
    20                          wget -t 10 -U BashPodder -c -q -O
$datadir/$(echo "$url" |
    21  awk -F'/' {'print $NF'} | awk -F'?' {'print $1'}) "$url"
    22                  fi
    23                  done
    24          done < bp.conf
    25  # Move dynamically created log file to permanent log file:
    26  cat podcast.log >> temp.log
    27  sort temp.log | uniq > podcast.log
    28  rm temp.log
    29  # Create an m3u playlist:
    30  ls $datadir | grep -v m3u > $datadir/podcast.m3u
    31
[thufir@localhost bashpodder]$ cat bp.conf -n
     1  http://lottalinuxlinks.com/podcast/rss.xml
     2
[thufir@localhost bashpodder]$ date
Tue Mar 14 07:17:28 EST 2006
[thufir@localhost bashpodder]$

thanks,

Thufir


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux