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
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?