curl and wget: create parent directories








curl --create-dirs -o "/path/to/output-dir/file.txt" "https://your-site.org/file.txt"
mkdir -p "/path/to/output-dir" && wget --no-check-certificate -O "/path/to/output-dir/file.txt" "https://your-site.org/file.txt"



No comments:

Post a Comment