[PYTHON] [Linux] How to subdivide files and folders

Purpose

If you want to run programs in parallel, you may want to subdivide the dataset. The more subdivided, the more time and effort it takes.
Therefore, the purpose is as follows.

--Subdivide datasets (files and folders) using shell scripts

For detailed explanation and code, see "[Linux] How to subdivide files and folders".

Recommended Posts

[Linux] How to subdivide files and folders
[Linux] Compress folders and transfer files from remote to local
How to find large files on Linux
Linux: files and directories
How to switch between Linux and Mac shells
Linux (about files and directories)
Beginners! Basic Linux commands and how to use them!
About LINUX files and processes
How to share folders with Docker and Windows with tensorflow
[Python] How to split and modularize files (simple, example)
[Linux] How to deal with garbled characters when viewing files
"Chmod" command to set permissions and access permissions for files and folders
Commands and files to check the version of CentOS Linux
How to install and use Tesseract-OCR
Manipulate files and folders in Python
How to install wkhtmltopdf (Amazon Linux2)
How to install VMware-Tools on Linux
How to install MBDyn (Linux Ubuntu)
How to install and configure blackbird
How to use .bash_profile and .bashrc
How to install CUDA and nvidia-driver
How to install and use Graphviz
How to check Linux OS version
How to solve slide puzzles and 15 puzzles
How to display a specified column of files in Linux (awk)
How to import CSV and TSV files into SQLite with Python
How to use functions in separate files Perl and Python versions
How to set up and use OMC Log Analytics --Linux version -
How to display PDF resolution and detailed information on Linux (pdfinfo)
How to build my own Linux server
How to package and distribute Python scripts
How to split and save a DataFrame
How to install aws-session-manager-plugin on Manajro Linux
How to install and use pandas_datareader [Python]
How to create * .spec files for pyinstaller.
I want to know how LINUX works!
[Linux] How to use the echo command
How to use the Linux grep command
How to update php on Amazon linux 2
[linux] Split files to the specified size
How to display emoji on Manjaro Linux
How to install packages on Alpine Linux
How to install Anisble on Amazon Linux 2
How to operate Linux from the console
python: How to use locals () and globals ()
How to install Windows Subsystem For Linux
How to power off Linux with Ultra96-V2
How to update security on CentOS Linux 8
How to install php7.4 on Linux (Ubuntu)
[Python] How to calculate MAE and RMSE
How to use Python zip and enumerate
How to read CSV files in Pandas
How to use is and == in Python
How to get started with laravel (Linux)
How to use pandas Timestamp and date_range
How to install fabric and basic usage
How to write pydoc and multi-line comments
How to automatically upload .gpx files to Strava
How to display Django static files correctly under Amazon Linux2 + Apache environment
How to make an embedded Linux device driver (11)
How to use lists, tuples, dictionaries, and sets