Hi All,
Been poking around a bit but haven't found a ton of info on this. Basically, our current process when a user departs is to archive their entire home folder on a server for a period of time. It's an old SMB server so the performance when copying individual files over is pretty horrible, as such I wanna compress the file to a .zip archive, then move that to the share. I've got it all working just fantastic, and am using the "zip" command in terminal. BUT, it really chokes on the Library > Containers folder with all of the aliases. It seems to compress each alias instance with the full original file size - so instead of decreasing the size, my 22GB test user folder became a 40GB zip archive... Anybody have any advice on flags or gzip or some other method that may handle the aliases better?
here's my specific command for reference:
#!/bin/sh
zip -r /$username.zip /Users/$username