Search Results

Search: Posts Made By: mbourgon
18,869
Posted By mbourgon
Friend came up with this. More complex version:...
Friend came up with this. More complex version: fed a series of numbers, after a pause it will force a new line. For the scanner I used, works like a charm.

#!/bin/bash

READFLAG=0;
char="";...
18,869
Posted By mbourgon
Awesome! I'll give it a shot. Many thanks!
Awesome! I'll give it a shot. Many thanks!
18,869
Posted By mbourgon
splitting long string into several lines?
I'm using a barcode scanner to grab ISBNs. Unfortunately, short of hitting "enter" each time (not easy while on a ladder), there's no good way to split it up. So I scanned it into a series of long...
11,180
Posted By mbourgon
Yes, but still need to evaluate
Yes, something like that would work... but I still need a way for expect to figure out the list of files, then loop through each and get/rename.
11,180
Posted By mbourgon
Expect - get, then move files within FTP site?
Trying to do the following, and it looks like Expect is probably my best bet. Any help greatly appreciated

1) Log onto ftp site
2) Go to folder
3) GET all files matching basename*.txt
4) MOVE...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy