15 lines
350 B
Markdown
15 lines
350 B
Markdown
---
|
|
title: "split files"
|
|
date: 2021-06-13T08:31:03+02:00
|
|
draft: false
|
|
snippet_types:
|
|
- split
|
|
---
|
|
|
|
To prevent upload errors to S3 Glacier I keep my files ~500mb. So larger ones must be split.
|
|
|
|
```shell
|
|
$ split -b 500mb example.txt example.txt.part
|
|
```
|
|
|
|
[perl script example](https://paste.sr.ht/~travisshears/1327a69aea4e86e17894aeec9e16011338280b8a)
|