It's full of stars!

  • All Content
  • About

bash

Technology

How to use find to sort files across folders

Short version You have files named File0.txt to File100.txt in different folders and want to move the first 30 files in a separate directory (command for Mac users. Linux users can use find and mv): For sorting FileNN.txt (character + number) gfind -type f -printf “%f %p\n” | sort -n Read more…

By Tobias Hofmann, 7 yearsJuly 25, 2018 ago
Technology

Parallel download of files using curl

In a previous blog, I showed how to download files using wget. The interesting part of this blog was to pass the authentication cookies to the server as well as using the file name given by the Content-Disposition directive when saving the file. The example of the previous blog was Read more…

By Tobias Hofmann, 8 yearsMay 22, 2017 ago
Technology

Download files with leading zero in name using wget

In my previous blog I showed how wget can be used to download a file from a server using HTTP headers for authentication and how to use Content-Disposition directive send by the server to determine the correct file name. With the information of the blog it`s possible to download a Read more…

By Tobias Hofmann, 8 yearsMay 4, 2017 ago
  • Datenschutzerklärung
  • Impressum
  • Cookie-Erklärung
Hestia | Developed by ThemeIsle