Jump to content

Module Download


korang
 Share

Recommended Posts

Directory indexing is enabled on the pineapple. This means once you are logged into the admin interface you can browse to http://172.16.42.1:1471/modules/ . Since PHP is server side I would recommend placing a script in that folder that will backup & compress everything in a tarball or zip file. PHP would be best so you can just click it then refresh. A quick & dirty way of doing it would be something like this in the modules directory:


<? system('tar -czf modules-backup.tar.gz *') ?>
[/CODE]

You would also need to put one in /usb/modules because /modules/usbModules is symbolically linked to that location.

Doing scp in this way will download the entire module directory to your local machine: (note the period at the end)

[CODE]scp -r root@172.16.42.1:/pineapple/modules .[/CODE]

Edited by aPices
Link to comment
Share on other sites

Directory indexing is enabled on the pineapple. This means once you are logged into the admin interface you can browse to http://172.16.42.1:1471/modules/ . Since PHP is server side I would recommend placing a script in that folder that will backup & compress everything in a tarball or zip file. PHP would be best so you can just click it then refresh. A quick & dirty way of doing it would be something like this in the modules directory:


<? system('tar -czf modules-backup.tar.gz *') ?>
[/CODE]

You would also need to put one in /usb/modules because /modules/usbModules is symbolically linked to that location.

Doing scp in this way will download the entire module directory to your local machine: (note the period at the end)

[CODE]scp -r root@172.16.42.1:/pineapple/modules .[/CODE]

thats too much work:-P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...