Here is the scenario, I have 1000 files in a folder each ~3 MB. I want to zip all files into 50MB each zip and remove the original files.NOTE: 50MB may contain 20 files or 10 files but that zip package should be <=50MB.I want to transfer those files without data loss. File must be of format (tar/gzip/bzip). Please provide suggestions to me if we have any other way to overcome the data loss.Need to create a shell script.
Taking Backup of files of particular limit in unix
bash;scripting;shell;tar