creates [nested] folders and pushes files with ADB
Project description
creates [nested] folders and pushes files with ADB
Tested against Windows 10 / Python 3.10 / Anaconda
pip install adb-push-create
from adb_push_create import push_file,make_folders
adb_path = r"C:\ProgramData\chocolatey\bin\adb.exe"
deviceserial = "xxxx"
make_folders(adb_path, deviceserial,path2create='/sdcard/DCIM/0/12/4')
copyok = push_file(
adb_path=adb_path,
deviceserial=deviceserial,
file=r"C:\xdf - Copy.m4v",
dest="/sdcard/DCIM/0/12/4/12/4/5", # path does not exist yet
)
print(copyok)
True
Contribution Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.
License This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
adb_push_create-0.10.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for adb_push_create-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d54b1b026b4cdf3fda884351eb6217d413463964b19e99324379691d0e5ba483 |
|
MD5 | b4fa66561e1fd4f0f04fcf3bb27b8549 |
|
BLAKE2b-256 | dfa385ebceb9be7e4c942843ea6b5395eeb37ac7a0850060c7f0d77bc582cdc9 |