in reply to Re: Changing files on a RaspberryPi connected via USB
in thread Changing files on a RaspberryPi connected via USB
Apologies, the question I agree, seems not related to Perl.
I had been looking at the Device::USB perl module and thought there may have been some similarities since the RaspberryPi would be connected via USB, and was hoping someone out there might have some ideas on how to create a perl script to change the details of a wi-fi config file or other files.
The code that I had been using with the Net::SCP module for another project, which is similar to what I need, works as:
copy file from other to my computer
open file and add or change as needed
save and copy back to other computer
I don't have the code for changing the RaspberryPi written yet, but it's just a matter of changing IP addresses and the user & login names of my old program, I can upload that if it helps, but the main issue is making a script to do the above through USB connection. If Perl has any modules out there that could do this
Or in a more general sense, looking to make a Perl script to manage files on a Linux computer connected through a USB connection.
|
|---|