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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adb_push_create-0.11.tar.gz.
File metadata
- Download URL: adb_push_create-0.11.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6ba107af201efa2ed27d190a3a18c17a8a6c25f1a5698dc3f2c8f3ccdea6b56
|
|
| MD5 |
23683e0ef6ce7fab89208638058b823c
|
|
| BLAKE2b-256 |
260670dbcf7e0843045306b8a17a7c8ba6e2773675c09bc8c7f45a10ded38160
|
File details
Details for the file adb_push_create-0.11-py3-none-any.whl.
File metadata
- Download URL: adb_push_create-0.11-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2afa59e37ac3eb35d7ca5b27d17169028dd19ef82dee1cfd495075d331e6aa44
|
|
| MD5 |
cb40244ebfa541f8c8dfa1fde840a8f8
|
|
| BLAKE2b-256 |
ff2a29ef59beaf5aea0ebdec430c39f670c4920de0e58b0962957ff064739058
|