How to send text file content with xmppc command?
0
votes
1
answer
194
views
In the Termux app on Android I get a text file with all the SMSs like this:
termux-sms-list >sms.txt
And I need to send its content over xmpp automatically by script. The available command is xmppc, but it doesn't seem to support file uploads.
I tried these ways and it didn't work:
xmppc -j usersender@domain.tld -p "UserPassword" -m message chat userreceiver@domain.tld $(cat sms.txt)
cat sms.txt | xmppc -j usersender@domain.tld -p "UserPassword" -m message chat userreceiver@domain.tld -
Any idea?
Asked by Ueliton Alves Dos Santos
(13 rep)
Aug 4, 2022, 03:33 PM
Last activity: Aug 5, 2022, 01:41 AM
Last activity: Aug 5, 2022, 01:41 AM