med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

425
active users

#wget

2 posts2 participants1 post today
Free Software Foundation<p>Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Rongzhao Yan, Paolo De Santis, and Maximilian Küffner for assigning their copyright to the FSF! More at: <a href="https://u.fsf.org/463" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">u.fsf.org/463</span><span class="invisible"></span></a> <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> \<a href="https://hostux.social/tags/Wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wget</span></a> <a href="https://hostux.social/tags/CopyrightAssignments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CopyrightAssignments</span></a></p>
Free Software Foundation<p>Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Rongzhao Yan, Paolo De Santis, and Maximilian Küffner for assigning their copyright to the FSF! More at: <a href="https://u.fsf.org/463" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">u.fsf.org/463</span><span class="invisible"></span></a> <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> \<a href="https://hostux.social/tags/Wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wget</span></a> <a href="https://hostux.social/tags/CopyrightAssignments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CopyrightAssignments</span></a></p>
Free Software Foundation<p>Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Rongzhao Yan, Paolo De Santis, and Maximilian Küffner for assigning their copyright to the FSF! More at: <a href="https://u.fsf.org/463" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">u.fsf.org/463</span><span class="invisible"></span></a> <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> \<a href="https://hostux.social/tags/Wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wget</span></a> <a href="https://hostux.social/tags/CopyrightAssignments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CopyrightAssignments</span></a></p>
Free Software Foundation<p>Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Rongzhao Yan, Paolo De Santis, and Maximilian Küffner for assigning their copyright to the FSF! More at: <a href="https://u.fsf.org/463" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">u.fsf.org/463</span><span class="invisible"></span></a> <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> \<a href="https://hostux.social/tags/Wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wget</span></a> <a href="https://hostux.social/tags/CopyrightAssignments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CopyrightAssignments</span></a></p>
Free Software Foundation<p>Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Rongzhao Yan, Paolo De Santis, and Maximilian Küffner for assigning their copyright to the FSF! More at: <a href="https://u.fsf.org/463" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">u.fsf.org/463</span><span class="invisible"></span></a> <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> \<a href="https://hostux.social/tags/Wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wget</span></a> <a href="https://hostux.social/tags/CopyrightAssignments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CopyrightAssignments</span></a></p>
Free Software Foundation<p>Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Rongzhao Yan, Paolo De Santis, and Maximilian Küffner for assigning their copyright to the FSF! More at: <a href="https://u.fsf.org/463" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">u.fsf.org/463</span><span class="invisible"></span></a> <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> \<a href="https://hostux.social/tags/Wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wget</span></a> <a href="https://hostux.social/tags/CopyrightAssignments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CopyrightAssignments</span></a></p>
Free Software Foundation<p>Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Rongzhao Yan, Paolo De Santis, and Maximilian Küffner for assigning their copyright to the FSF! More at: <a href="https://u.fsf.org/463" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">u.fsf.org/463</span><span class="invisible"></span></a> <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> \<a href="https://hostux.social/tags/Wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wget</span></a> <a href="https://hostux.social/tags/CopyrightAssignments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CopyrightAssignments</span></a></p>
Free Software Foundation<p>Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Rongzhao Yan, Paolo De Santis, and Maximilian Küffner for assigning their copyright to the FSF! More at: <a href="https://u.fsf.org/463" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">u.fsf.org/463</span><span class="invisible"></span></a> <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> \<a href="https://hostux.social/tags/Wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wget</span></a> <a href="https://hostux.social/tags/CopyrightAssignments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CopyrightAssignments</span></a></p>
Preston Maness ☭<p>I've mirrored a relatively simple website (redsails.org; it's mostly text, some images) for posterity via <a href="https://tenforward.social/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a>. However, I also wanted to grab snapshots of any outlinks (of which there are many, as citations/references). By default, I couldn't figure out a configuration where wget would do that out of the box, without endlessly, recursively spidering the whole internet. I ended up making a kind-of poor man's <a href="https://tenforward.social/tags/ArchiveBox" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ArchiveBox</span></a> instead:</p><p>for i in $(cat others.txt) ; do dirname=$(echo "$i" | sha256sum | cut -d' ' -f 1) ; mkdir -p $dirname ; wget --span-hosts --page-requisites --convert-links --backup-converted --adjust-extension --tries=5 --warc-file="$dirname/$dirname" --execute robots=off --wait 1 --waitretry 5 --timeout 60 -o "$dirname/wget-$dirname.log" --directory-prefix="$dirname/" $i ; done</p><p>Basically, there's a list of bookmarks^W URLs in others.txt that I grabbed from the initial mirror of the website with some <a href="https://tenforward.social/tags/grep" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>grep</span></a> foo. I want to do as good of a mirror/snapshot of each specific URL as I can, without spidering/mirroring endlessly all over. So, I hash the URL, and kick off a specific wget job for it that will span hosts, but only for the purposes of making the specific URL as usable locally/offline as possible. I know from experience that this isn't perfect. But... it'll be good enough for my purposes. I'm also stashing a WARC file. Probably a bit overkill, but I figure it might be nice to have.</p><p><a href="https://tenforward.social/tags/RedSails" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RedSails</span></a> <a href="https://tenforward.social/tags/archive" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>archive</span></a> <a href="https://tenforward.social/tags/archival" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>archival</span></a> <a href="https://tenforward.social/tags/archiving" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>archiving</span></a> <a href="https://tenforward.social/tags/warc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>warc</span></a></p>
Claudine C :antifa:<p>Brief usage notes on <a href="https://aus.social/tags/ArchiveBox" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ArchiveBox</span></a> and <a href="https://aus.social/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a><br><a href="https://www.claudinec.net/posts/2025-02-08-web-archiving/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">claudinec.net/posts/2025-02-08</span><span class="invisible">-web-archiving/</span></a></p><p><a href="https://aus.social/tags/SafeguardingResearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SafeguardingResearch</span></a> <a href="https://aus.social/tags/DigitalPreservation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DigitalPreservation</span></a> <a href="https://aus.social/tags/WebArchiving" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebArchiving</span></a></p>
GNU/Linux.ch<p>HTTrack - Der Website Downloader</p><p>In diesem Tutorial zeige ich dir, wie du ganze Websites mit HTTrack für den Offline-Zugriff speichern kannst. Egal, ob für die eigene Sicherung oder einfach zum Stöbern ohne Internet – ich zeige dir Schritt für Schritt, wie es funktioniert. </p><p><a href="https://social.anoxinon.de/tags/httrack" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>httrack</span></a> <a href="https://social.anoxinon.de/tags/Curl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Curl</span></a> <a href="https://social.anoxinon.de/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a> <a href="https://social.anoxinon.de/tags/Website" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Website</span></a> <a href="https://social.anoxinon.de/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a></p><p><a href="https://gnulinux.ch/httrack-der-website-downloader" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gnulinux.ch/httrack-der-websit</span><span class="invisible">e-downloader</span></a></p>
Snagburz<p><a href="https://techhub.social/tags/unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unix</span></a> and <a href="https://techhub.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> tip:<br>The page you try to read on the web is a PDF file, but it takes the <a href="https://techhub.social/tags/browser" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>browser</span></a> forever to display it? <br>From a terminal download it using</p><p> wget &lt;url&gt;</p><p><a href="https://techhub.social/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a> <a href="https://techhub.social/tags/offline" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>offline</span></a> <a href="https://techhub.social/tags/pc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pc</span></a> <a href="https://techhub.social/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> <a href="https://techhub.social/tags/shell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>shell</span></a></p>
Kevin Karhan :verified:<p><span class="h-card" translate="no"><a href="https://mastodon.social/@bagder" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>bagder</span></a></span> Problem with that is (besides occasional bugfixes), most people including myself would see <a href="https://infosec.space/tags/curl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>curl</span></a> to be <em>functionally complete</em> and anything <em>"nice to have"</em> would be considered not worth the balooning in <a href="https://infosec.space/tags/complexity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>complexity</span></a> and <a href="https://infosec.space/tags/size" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>size</span></a>. </p><ul><li><p>I mean, does <a href="https://curl.se/" rel="nofollow noopener noreferrer" target="_blank">curl</a> <em>need</em> to be able to do <a href="https://infosec.space/tags/BitTorrent" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BitTorrent</span></a> (magnet:), <a href="https://infosec.space/tags/IPFS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IPFS</span></a> (ipfs://) or god forbid <a href="https://infosec.space/tags/blockchain" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blockchain</span></a> (i.e. <a href="https://infosec.space/tags/EVM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EVM</span></a>) support? </p></li><li><p>Do you really want to integrate <span class="h-card" translate="no"><a href="https://mastodon.social/@torproject" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>torproject</span></a></span> / <a href="https://infosec.space/tags/Tor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tor</span></a> support <em>natively into curl</em> when using <a href="https://infosec.space/tags/HTTP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTTP</span></a> (localhost:8118) and <a href="https://infosec.space/tags/SOCKS5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SOCKS5</span></a> (localhost:9050) <a href="https://infosec.space/tags/proxy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>proxy</span></a> allows for the same and doesn't necessitate having to handle and ingest Tor arguments as well??</p></li></ul><p>In fact if <a href="https://infosec.space/tags/toybox" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>toybox</span></a> didn't have a <a href="https://infosec.space/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a> implementation that I could use for OS/1337 I would've merely chosen <a href="https://curl.se/tiny/" rel="nofollow noopener noreferrer" target="_blank"><code>tiny-curl -o</code></a> as a <a href="https://stackoverflow.com/questions/30702803/set-aliases-globally-for-all-users" rel="nofollow noopener noreferrer" target="_blank">global alias</a> or if <a href="https://infosec.space/tags/tinycurl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tinycurl</span></a> wasn't an option, <a href="https://linux.die.net/man/1/curl" rel="nofollow noopener noreferrer" target="_blank"><code>curl -o</code></a> instead.</p><ul><li>Maybe someone who wants to have said functionality like <code>tor</code> support built-in will go and IDK make i.e. <code>#neocurl</code> or sth. along those lines or build something like <code>#ethcurl</code> or <code>#torcurl</code>or <code>#ipfscurl</code> or whatever...</li></ul><p>That being said I am glad <code>curl</code> isn't <em>solely</em> maintained by you but has other contributors (give them a shoutout!) but I also am glad you maintain that vital software that most <em>"<a href="https://infosec.space/tags/TechIlliterate" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TechIlliterate</span></a> <a href="https://infosec.space/tags/Normies" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Normies</span></a>"</em> most likely never heard of but propably use on a daily basis as part of all the <a href="https://infosec.space/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> they use to <a href="https://infosec.space/tags/consume" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>consume</span></a> media with...</p><ul><li>I consider curl to be <em>"the <a href="https://infosec.space/tags/vim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vim</span></a> of downloaders"</em> (tho that's kinda insulting and limiting since <code>curl</code> is more than just a downloader <em>and</em> more intuitive than <code>vim</code>) with wget being <em>"the <a href="https://infosec.space/tags/vi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vi</span></a> of downloaders"</em> (tho <code>wget</code> is even simpler to use than <code>vi</code>)...</li></ul><p>Either way, curl is awesome... </p><p><a href="https://infosec.space/tags/OS1337" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OS1337</span></a> <a href="https://infosec.space/tags/Enshittification" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Enshittification</span></a> <a href="https://infosec.space/tags/Bloat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bloat</span></a> <a href="https://infosec.space/tags/Bloatware" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bloatware</span></a></p>
Thoralf Will 🇺🇦🇮🇱<p>Jetzt habe ich das Ding zugreifbar.<br>Ich kann mich an der Webschnittstelle auch anmelden.</p><p>Interessanterweise funktioniert der Zugriff mittels <a href="https://soc.umrath.net/tags/curl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>curl</span></a> (401) nicht (und alle Scripten, die darauf basieren schlagen fehlt) - während ich mit <a href="https://soc.umrath.net/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a> ein 200 und sinnvollen payload bekomme.</p><p>curl -v -k -u XXX:YYY https://192.../start</p><p>wget --no-check-certificate -v --user=XXX --password=YYY https://192.../start</p><p>Kann mir mal jemand über die Straße helfen?</p>
dusoft<p>Also: it must be really a gargantuan task to do a simple GET to fetch followers, right? Neither <a href="https://fosstodon.org/tags/curl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>curl</span></a>, nor <a href="https://fosstodon.org/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a> can do that, right? Right? <a href="https://fosstodon.org/tags/fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fediverse</span></a> <a href="https://fosstodon.org/tags/mastodon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mastodon</span></a> <a href="https://fosstodon.org/tags/mastoadmin" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mastoadmin</span></a> <a href="https://fosstodon.org/tags/MastoLivre" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MastoLivre</span></a> <a href="https://fosstodon.org/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a></p>
daniel:// stenberg://<p>I bet you don't remember when <a href="https://mastodon.social/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a> briefly considered switching to using <a href="https://mastodon.social/tags/libcurl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libcurl</span></a> back in 2007.</p><p><a href="https://daniel.haxx.se/blog/2007/10/27/wget-going-libcurl/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">daniel.haxx.se/blog/2007/10/27</span><span class="invisible">/wget-going-libcurl/</span></a></p>
don Elías (como los buses) 🥨<p><span class="h-card" translate="no"><a href="https://www.impulsait.com/@impulsait.com" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>impulsait.com</span></a></span> esto es un comentario desde Mastodon.CR en el blog de <span class="h-card" translate="no"><a href="https://www.impulsait.com/@impulsait.com" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>impulsait.com</span></a></span></p><p>La publicación de blog es sobre cómo usar <a href="https://mastodon.cr/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a> para hacer una copia fuera de línea de un sitio web, especialmente útil para convertir un sitio dinámico en estático por temas de rendimiento y seguridad</p>
Impulsa IT Solutions<p><strong>Hacer una copia o espejo de un sitio usando wget</strong></p><p>A veces uno necesita hacer una copia completa de un sitio web para acceso fuera de línea, o también para convertir un sitio dinámico a estático, especialmente cuando un cliente tiene un sitio web en una versión obsoleta de un manejador de contenido como WordPress o Joomla en una versión muy vieja y corriendo una versión de PHP vulnerable. Esto es especialmente útil cuando el sitio web no requiere ser modificado. Esto trae como beneficio un sitio más veloz y más seguro, ya que un sitio estático HTML se envía tal cual al navegador de las personas usuarias, sin tener que ejecutar código PHP potencialmente vulnerable.</p><p>Con la herramienta de línea de comandos <code>wget</code> es posible de forma muy sencilla descargar un sitio web entero:</p><pre><code>wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://example.org</code></pre><p>Explicación de algunos de los argumentos:</p><ul><li><code>--mirror</code> – Descarga recursivamente y hace otros ajustes relacionados, implica: <code>-r -N -l inf --no-remove-listing</code>.</li><li><code>--convert-links</code> – convierte enlaces y referencias en HTML como CSS, para poder ser vistas fuera de línea.</li><li><code>--adjust-extension</code> – Ajusta la extensión de los objetos html o css según el tipo de datos</li><li><code>--page-requisites</code> – Descarga objetos enlazados como hojas de estilo CSS e imágenes requeridos para ver el sitio fuera de línea.</li><li><code>--no-parent</code> – No subir a directorios superiores en el URL, útil cuando se está haciendo espejo de un URL específico como <a href="http://example.org/sub-directorio/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">http://</span><span class="">example.org/sub-directorio/</span><span class="invisible"></span></a></li></ul><p>Ejemplo de conversión de sitio WordPress en un sistema cPanel:</p><pre><code># Entrar como usuario a shell, para no ejecutar comandos como root<strong>su - user -s /bin/bash</strong># Crear directorio de descargas<strong>mkdir download &amp;&amp; cd downloadwget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://example.org</strong># Hacer un respaldo del directorio raíz del sitio web<strong>cd ..</strong><strong>mv public_html public_html~</strong># Colocar la copia descargada en línea<strong>mv download/example.org public_html</strong># Probar sitio, ajustar detalles y opcionalmente borrar base de datos luego de hacer respaldo# Con esto el sitio dinámico ha sido convertido a estático.</code></pre><p>Referencias:</p><ul><li>GNU wget manual: <a href="https://www.gnu.org/software/wget/manual/wget.html" rel="nofollow noopener noreferrer" target="_blank">https://www.gnu.org/software/wget/manual/wget.html&nbsp;</a></li><li>Make Offline Mirror of a Site using wget: <a href="https://www.guyrutenberg.com/2014/05/02/make-offline-mirror-of-a-site-using-wget/" rel="nofollow noopener noreferrer" target="_blank">https://www.guyrutenberg.com/2014/05/02/make-offline-mirror-of-a-site-using-wget/</a></li></ul><p><a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://www.impulsait.com/tag/linux/" target="_blank">#Linux</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://www.impulsait.com/tag/mirror/" target="_blank">#mirror</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://www.impulsait.com/tag/static-site/" target="_blank">#staticSite</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://www.impulsait.com/tag/sysadmin/" target="_blank">#sysadmin</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://www.impulsait.com/tag/tips/" target="_blank">#tips</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://www.impulsait.com/tag/wget/" target="_blank">#wget</a></p>
Kevin Karhan :verified:<p><span class="h-card" translate="no"><a href="https://equestria.social/@SweetAIBelle" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>SweetAIBelle</span></a></span> I just hope that <span class="h-card" translate="no"><a href="https://mstdn.jp/@landley" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>landley</span></a></span> can do <a href="https://infosec.space/tags/alias" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>alias</span></a> support in <code>toysh</code> so I can supplement most stuff easily with a <code>.bash_aliases</code> <a href="https://github.com/kkarhan/misc-scripts/blob/master/bash/.bash_aliases" rel="nofollow noopener noreferrer" target="_blank">file</a> to make it easy to use...</p><p>Like I know I eon't be abke to ship most tools that I want to have at hand with like a 1440kB image but I can just <em>yoink</em> them with <a href="https://infosec.space/tags/wget" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wget</span></a> or <a href="https://infosec.space/tags/curl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>curl</span></a> or <a href="https://infosec.space/tags/tinycurl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tinycurl</span></a> or whatever even before any <a href="https://github.com/os-1337/spm" rel="nofollow noopener noreferrer" target="_blank">package manager</a> is up and running or available.</p><ul><li>Tho compared to most <a href="https://infosec.space/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> distros and tools like <code>apt</code> and <code>yum</code>, <code>spm</code> isn't very advanced and at most will likely only offer to download/remove a binary or replace it...</li></ul>
Ƿynnie Ƿynn :fedora: :freebsd:<p>How do you all pronounce <code>wget</code><span>?<br>- double-u-get<br>- wuh-get<br>- we-get<br><br></span><a href="https://misskey.winscloud.net/tags/wget" rel="nofollow noopener noreferrer" target="_blank">#wget</a> <a href="https://misskey.winscloud.net/tags/linux" rel="nofollow noopener noreferrer" target="_blank">#linux</a></p>