Does anyone have a Linux script to zip all files in directory 1 into individual files zip files in directory 2. (even better if it only did it where file #2 doesn't already exist and it could be made a cron job or a "sync.php" page could run the sync)?
This relates to http map download.
I'd like to figure out 1 single universal place for http map downloads and uncompressed .bsp files is just such a waste.
Qrack's curl based map download seems very solid. I'd like to see the long term "standard" involving compression, but it needs to be very easy to maintain.
Then let every server operator have access to it. Or, if a single location is unworkable, modify ProQuake server to send sv_download_url "http://www.myserver.com/maps" and have it first check for a .zip file and if that fails, check for a .bsp file.
maps/aerowalk.bsp -> maps/compressed/aerowalk.zip
maps/arenax.bsp -> maps/compressed/arenax.zip
maps/ctf8.bsp -> maps/compressed/ctf8.zip
maps/ikspq1.bsp -> maps/compressed/ikspq1.zip
maps/q1edge.bsp -> maps/compressed/q1edge.zip
maps/arenax.bsp -> maps/compressed/arenax.zip
maps/ctf8.bsp -> maps/compressed/ctf8.zip
maps/ikspq1.bsp -> maps/compressed/ikspq1.zip
maps/q1edge.bsp -> maps/compressed/q1edge.zip
I'd like to figure out 1 single universal place for http map downloads and uncompressed .bsp files is just such a waste.
Qrack's curl based map download seems very solid. I'd like to see the long term "standard" involving compression, but it needs to be very easy to maintain.
Then let every server operator have access to it. Or, if a single location is unworkable, modify ProQuake server to send sv_download_url "http://www.myserver.com/maps" and have it first check for a .zip file and if that fails, check for a .bsp file.
Comment