I have to select all the files that starts with data* and choose the latest files by date such that the compressed zip file of the selected files should not exceed 50MB. How do I achieve this in bash scripting ?
Selectively zip files up to 50M
bash;shell script