Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am trying to develop a shell script with the requirement:

  1. Find files in a directory with size over 250 MB - how to discover the file?
  2. If it finds a file over 250 MB, split it to make it into smaller chunks without having data (records) being split apart.

Example - the script should be able to find a file that is 600 MB - I can expect to see 3 files (one that is 250 MB, 250 MB, and 100 MB). It should not exceed 250 MB per file and record should not be broken, the full record should be in the same file.

Any help would be appreciated!

Thank you


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.6k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...