mobile_app_open
mobile_app_open copied to clipboard
For 5.0 submission
- [x] create submission-v5.0 branch
- [x] sync v5.0 branch to the mobile_app_closed repo
- [x] update the timestep embedding pickle file to mobile_open
https://github.com/mlcommons/mobile_app_open/tree/submission-v5.0 https://github.com/mlcommons/mobile_app_closed/tree/submission-v5.0
To split a file large then a certain threshold, a simple shell script serve well. It event works on Android. Assume that we want to split all the files larger than 20 M in current directory.
find . -type f -size +20M -exec sh -c 'split -b 20M "$0" "${0%.*}_"; rm "$0"' {} \;
-
find .: find files in current directory -
-type f: only show the file type == file (there could be directories, socket, etc) -
size +20M: larger than 20 M -
-exec sh -c .... {} \;: once matched file > 20M, the file name is passed as {} to -exec -
'split -b 20M "$0" "${0%.*}_"; rm "$0"': split file size > 20M bytes, output filename foo to foo_a[a-z], and after splitting, remove the original file.
@Mostelk and @mohitmundhragithub