EconPapers    
Economics at your fingertips  
 

PROJECTBACKUP: Stata module to zip up a project folder, subfolders included, in native Stata

Eric Booth

Statistical Software Components from Boston College Department of Economics

Abstract: projectbackup archives a folder and everything under it into a single .zip using only Stata's own zipfile command and Mata -- no tar, 7-Zip, or PowerShell, so it behaves identically on macOS, Windows, and Linux and works where you cannot run external programs. It is built for the everyday "snapshot my project" habit: point it at a folder and it writes a (optionally dated) zip into an _archive subfolder, and can keep a running Markdown log of every backup. Before writing it walks the tree and warns about oversized folders, too many files, and paths too deep for Windows to extract -- with a dryrun that measures without writing. Options: archive(), prefix(), timestamp, label(), exclude(), nodotfiles, toc, note(), manifest, keep(), removeall, dryrun, force, and a zippy option that also writes a Stata Journal .zippy copy. projectbackup [folder] [, timestamp toc exclude() keep() dryrun ...]

Language: Stata
Requires: Stata version 14
Keywords: backup; archive; zip; zipfile; project; reproducibility; Stata Journal (search for similar items in EconPapers)
Date: 2026-07-30
Note: This module should be installed from within Stata by typing "ssc install projectbackup". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/p/projectbackup.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/projectbackup.sthlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459833

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-08-03
Handle: RePEc:boc:bocode:s459833