# .dat files won't unzip

**URL:** <https://forum.ipums.org/t/dat-files-wont-unzip/4115>\
**Category:** CPS\
**Created:** [May 3, 2021, 4:08pm UTC](https://forum.ipums.org/t/dat-files-wont-unzip/4115 "2021-05-03T16:08:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elena\_Marchetti\_Bowi](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@Elena\_Marchetti\_Bowi](https://forum.ipums.org/u/Elena_Marchetti_Bowi)\
**Post date:** [May 3, 2021, 4:08pm UTC](https://forum.ipums.org/t/dat-files-wont-unzip/4115/1 "2021-05-03T16:08:03Z")

</div>

I think there might be an issue with the .dat files that IPUMS is producing. My computer won’t allow me to unzip them. They’ve always worked in the past and I’ve tried resubmitted the abstract several times, unzipping via terminal, and scanning my computer for any viruses.

---

<div class="post-metadata">

**Author:** ![bbok](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@bbok](https://forum.ipums.org/u/bbok)\
**Post date:** [May 3, 2021, 9:50pm UTC](https://forum.ipums.org/t/dat-files-wont-unzip/4115/2 "2021-05-03T21:50:13Z")

</div>

I had this problem too (on Mac). I found a solution by using Terminal to unzip the files with the command: `gzip -d cps_00001.dat.gz`

Hope this helps!

---

<div class="post-metadata">

**Author:** ![KariWilliams](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@KariWilliams](https://forum.ipums.org/u/KariWilliams)\
**Post date:** [May 4, 2021, 2:43pm UTC](https://forum.ipums.org/t/dat-files-wont-unzip/4115/3 "2021-05-04T14:43:22Z")

</div>

I was able to download your latest extract and unzip it without issue. I recommend [7zip](http://7zip.org/) as a free decompression software if you are using Windows; the archive utility should take care of this on a Mac. There is a known [known issues with Archive Utility decompressing certain .gz files](https://apple.stackexchange.com/questions/388759/archive-utility-cant-open-some-gzipped-text-files-based-on-their-contents) for Mac users with the Catalina OS; you can get around this issue by using Terminal to navigate to the place where the .gz file is, and then entering

% gunzip cps\_00081.dat.gz

If you are still not able to open the file, please follow up directly with [ipums@umn.edu](mailto:ipums@umn.edu) so we can troubleshoot this specific issue.
