Add split file-write

This commit is contained in:
LinuxSploit 2021-04-28 02:48:47 -04:00 committed by GitHub
parent a9b046f74b
commit 9745f89ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,12 @@ functions:
TF=$(mktemp)
split $LFILE $TF
cat $TF*
file-write:
- description: Data will be written in the current directory in a file named `xaa` by default. The input file will be split in multiple smaller files unless the `-b` option is used, pick a value in MB big enough.
code: |
TF=$(mktemp)
echo DATA >$TF
split -b999m $TF
command:
- description: Command execution using an existing or newly created file.
code: |