F5F Stay Refreshed Software Operating Systems Need assistance with Linux? I'm here to help!

Need assistance with Linux? I'm here to help!

Need assistance with Linux? I'm here to help!

I
iTzKohaPvP_Ez
Junior Member
35
08-24-2023, 06:28 PM
#1
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.
I
iTzKohaPvP_Ez
08-24-2023, 06:28 PM #1

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.

T
TheTrueGeek
Member
217
08-26-2023, 03:13 PM
#2
Additionally, you're running Raspberry Pi Jessie with Pixel (Kernel version 4.4).
T
TheTrueGeek
08-26-2023, 03:13 PM #2

Additionally, you're running Raspberry Pi Jessie with Pixel (Kernel version 4.4).

S
Sally6500
Junior Member
26
08-26-2023, 10:58 PM
#3
Write output directly to the NAS folder.
S
Sally6500
08-26-2023, 10:58 PM #3

Write output directly to the NAS folder.

C
Crafter_015
Member
162
09-03-2023, 02:04 PM
#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.
C
Crafter_015
09-03-2023, 02:04 PM #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.

F
Frebelcr33p
Junior Member
16
09-03-2023, 09:33 PM
#5
Sure, here we go.
F
Frebelcr33p
09-03-2023, 09:33 PM #5

Sure, here we go.

S
Slegif
Member
73
09-04-2023, 02:51 AM
#6
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
S
Slegif
09-04-2023, 02:51 AM #6

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

P
Petard6
Member
225
09-04-2023, 04:04 AM
#7
You're a legend, thank you!
P
Petard6
09-04-2023, 04:04 AM #7

You're a legend, thank you!

M
mayan12345
Member
207
09-21-2023, 10:00 AM
#8
No, you're not as good as Legend27.
M
mayan12345
09-21-2023, 10:00 AM #8

No, you're not as good as Legend27.

J
JumpinWizard
Junior Member
2
09-21-2023, 10:20 AM
#9
J
JumpinWizard
09-21-2023, 10:20 AM #9

W
Wicked_World
Member
134
09-21-2023, 10:49 AM
#10
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
W
Wicked_World
09-21-2023, 10:49 AM #10

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