Open sminnee opened 11 years ago
A warning would be awesome, e.g. "Total size of assets to be compressed and transferred is 10GB. Continue?"
Yeah, good call. It would probably be the uncompressed size, as the tar command happens over the wire, it's something like this:
ssh -T server "tar cz assets -O" > /tmp/local-assets-tmp.tar.gz
But, showing the total size of assets would be helpful.
Actually, also the exclusion of file formats (same format, right?) would follow the same line. We have a few projects where there's .mov and .mp4 files totaling 9 gb which you really won't need when setting up a local environment for a developer.
Sometimes, a prod site's assets are ridiculously huge, and you want to exclude some.
Add the ability to create one or more
--exclude-assets=subdirofassets/
parameters.