http://qs321.pair.com?node_id=189644


in reply to extracting a filename from an ls -Rla

well, since you just want the file name, you could try leaving off the 'l' in 'Rla', since that tells it to give you all the extra junk you don't want. you might find it easier to use something pre-written though, like mirror.
  • Comment on Re: extracting a filename from an ls -Rla

Replies are listed 'Best First'.
Re: Re: extracting a filename from an ls -Rla
by ortsac (Initiate) on Aug 15, 2002 at 17:07 UTC
    Thank you for your reply. I have been trying many methods. One of them is using 'mirror' as you mentioned. Is there any help on configuring it other that the README? I continue to get an error:
    Mirror>mirror -d packages/oldearl package=oldearl 172.16.23.244:/home/geouser/Bluedevil/ -> /home/jcastr +o/bin/Mirror/Test Undefined subroutine &ftp::set_signals called at /home/jcastro/bin/mir +ror line 1075.
    I think this is related to my hostname. If I give it my local IP address it gives me that error. If I don't, it tries to work but quits saying that it is trying to connect to itself. any suggestions?
      unfortunately, i haven't used mirror in a couple years, and i don't recall ever getting that error message. it seems odd that it's getting an undefined subroutine error...that would seem to imply there is a bug in mirror?