Search Results

Search: Posts Made By: Corona688
5,557
Posted By Corona688
Well that's not going to work. You're just...
Well that's not going to work. You're just printing the statements to the screen and not giving anything to sshpass at all.

Does your script change the variable IFS? Strings are supposed to...
5,557
Posted By Corona688
I won't know the issue until it works. ...
I won't know the issue until it works. Nonprinting characters are nonprinting, invisible to copy-paste. If there were nonprinting characters in your array you might not see them. Did you try my...
5,557
Posted By Corona688
No reason * shouldn't expand, perhaps you ended...
No reason * shouldn't expand, perhaps you ended up with nonprinting characters like carriage returns in your array or some such. If the commands work when pasted, that's what I'd bet.

By the way,...
5,557
Posted By Corona688
The echo you removed was necessary. Without it,...
The echo you removed was necessary. Without it, you are attempting to run a file named "( cd /path/to/${ID}*/*/folder && exec sshpass -f file.txt scp...
5,557
Posted By Corona688
Show your code. Always. Show your code.
Show your code.

Always. Show your code.
5,557
Posted By Corona688
This is a rather roundabout way of sending files!...
This is a rather roundabout way of sending files! sshpass executing sshpass executing scp. Isn't there a better way?

Anyway, this doesn't do what you think. Each ID only gets used once. The...
Showing results 1 to 6 of 6

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