How to archive all Magento 1 files excluding not important for development ones?

See also:

Cleanup

Archiving