Need assistance with Linux? I'm here to help!
Need assistance with Linux? I'm here to help!
You can use the "wget" command with your NAS directory in mind. The data will be saved locally on your Raspberry Pi first, and then you can transfer it to your NAS if needed. Since you only have an 8GB SD card, ensure the script handles file sizes appropriately and consider using a larger card or cloud backup for large downloads.
Additionally, you're running Raspberry Pi Jessie with Pixel (Kernel version 4.4).
In this Linux community, conversations tend to be direct and focused on technical issues. I believe the most effective way to understand Linux is by experimenting with it yourself.
Oh shoot, forgot to add on the rest of my answer. Anyways here it is: Since you're on a forum, I'm going to assume you have already tried. Bundled with Jessie, is Python. Here would be my workflow in your situation (though don't actually know how to program Python; languages without semicolons kill me): Get the program to accept a base link Get the program to accept the largest numbers/range of numbers Use a for loop to print "commands" (wget www.link.com) into a .sh file Use this to make your .sh file executable Profit
steeve did you get this to work? heres an alternative (assuming you have lynx installed) user@host:~$ lynx -listonly -dump -nonumbers [your site here] |grep http |[further filtering here such as grep mp4] >files.txt then a while loop (bash) user@host:~$ while read line;do wget <options> $line <any other options> ;done <files.txt note: [] used in the lynx command to avoid confusion with the redirect (>) to a file . sample output of the lynx command above to stdout : user@host:~$ lynx -listonly -dump -nonumbers www.google.com |grep http http://www.google.com/imghp?hl=en&tab=wi http://maps.google.com/maps?hl=en&tab=wl https://play.google.com/?hl=en&tab=w8 http://www.youtube.com/?tab=w1 http://news.google.com/nwshp?hl=en&tab=wn https://mail.google.com/mail/?tab=wm https://drive.google.com/?tab=wo and more