![mac create zip file command line mac create zip file command line](https://vbook.pub/img/crop/300x300/plon0r13j8w3.jpg)
rw-r-r- 1 floris floris 2413876 Feb 13 21:11 bhcdata2.zip Replace FILENAME with whatever filename you want and DIRECTORY with the path to the directory you want to make into a tarball. Change the file to "executable" with chmod 755 downloadAll, then type. bhcdata1.zip ""īONUS to get all four quarters, you can simply put the following lines in a script. You might find you need the -k flag as well… although I didn't need to on my machine.
![mac create zip file command line mac create zip file command line](https://cdn.osxdaily.com/wp-content/uploads/2012/04/create-tar-gz.jpg)
I found a file named bhcdata1.zip in my directory when I was done: -rw-r-r- 1 floris floris 1545868 Feb 13 21:05 bhcdata1.zip
![mac create zip file command line mac create zip file command line](https://crazytechtricks.com/wp-content/uploads/2020/06/Choose-a-file-or-folder-How-to-Create-a-Zip-File-on-Mac-without-Software.png)
Mac create zip file command line windows#
I've tried with and without various combinations of options, but nothing has worked yet. Execute the following command from the Windows PowerShell to zip a file or a directory without compression: PS C:> Compress-Archive -CompressionLevel NoCompression -Path C:input-DestinationPath C:output. The in the example command above would grab all four quarters in one year, but I'd be fine with just getting one quarter at a time, and I've tried replacing 1 as well. I want to do this for all quarters, so I need a way to write the command for each quarter so that I can loop over them. To clarify exactly what I'm trying to do: The Chicago Fed website lets you enter a year and quarter, and you click "Download data file" and it gives you a. Is there a straightforward way to do this? The command above is in fact provided in the documentation by the Chicago Fed, and yet it throws error messages on my Ubuntu machine: curl: option -klo: is unknown. The first thing I tried was this: curl -klo ".\bhcdata#1.zip" "" I've been somewhat blindly trying lots of variations of curl and wget to try downloading some.