3 Star 2 Fork 6

潘强标/medialibrary

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
resource.sh 2.49 KB
一键复制 编辑 原始数据 按行查看 历史
潘强标 提交于 2022-05-31 18:00 . add xts bat
mkdir -pv /storage/media/100/local/files/{Pictures/{Static,Static01,Album/Static,SR001PRO,SR001CB,Dynamic,Dynamic01,Dynamic02,Dynamic022,DeleteCb01,AblumInfo,DeletePro01,Delete01,Temp},Videos/{Static,Static01,Album/Static,SR001PRO,SR001CB,Dynamic,Dynamic01,Dynamic02,DeleteCb01,AblumInfo,DeletePro01,Delete01},Audios/{Static,Static01,Album/Static,SR001PRO,SR001CB,Dynamic,Dynamic01,Dynamic02,DeleteCb01,AblumInfo,DeletePro01,Delete01},Documents/{Static,Static01,Album/Static,SR001PRO,SR001CB,Dynamic,Dynamic01,Dynamic02,DeleteCb01,AblumInfo,DeletePro01,Delete01}}
for d in Static Album/Static Dynamic Dynamic01 Dynamic02 AblumInfo; do for i in $(seq 3); do cp /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/01.jpg /storage/media/100/local/files/Pictures/$d/0$i.jpg; done;done;
for d in Static Album/Static Dynamic Dynamic01 Dynamic02 AblumInfo; do for i in $(seq 3); do cp /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/01.mp3 /storage/media/100/local/files/Audios/$d/0$i.mp3; done;done;
for d in Static Album/Static Dynamic Dynamic01 Dynamic02 AblumInfo; do for i in $(seq 3); do cp /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/01.mp4 /storage/media/100/local/files/Videos/$d/0$i.mp4; done;done;
for d in Static Album/Static Dynamic Dynamic01 Dynamic02 AblumInfo; do for i in $(seq 3); do cp /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/01.dat /storage/media/100/local/files/Documents/$d/0$i.dat; done;done;
for d in SR001PRO SR001CB DeleteCb01 DeletePro01 Static01; do cp /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/01.jpg /storage/media/100/local/files/Pictures/$d ;done;
for d in SR001PRO SR001CB DeleteCb01 DeletePro01 Static01; do cp /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/01.mp3 /storage/media/100/local/files/Audios/$d ;done;
for d in SR001PRO SR001CB DeleteCb01 DeletePro01 Static01; do cp /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/01.mp4 /storage/media/100/local/files/Videos/$d ;done;
for d in SR001PRO SR001CB DeleteCb01 DeletePro01 Static01; do cp /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/01.dat /storage/media/100/local/files/Documents/$d ;done;
chmod -R 777 /storage/media/100/local/files/*
#chmod -R 777 /data/service/el2/100/hmdfs/account/files/*
#killall com.ohos.medialibrary.MediaScannerAbilityA
#aa start -a MediaScannerAbility -b com.ohos.medialibrary.MediaScannerAbilityA
#sleep 20
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/panqiangbiao/medialibrary.git
[email protected]:panqiangbiao/medialibrary.git
panqiangbiao
medialibrary
medialibrary
master

搜索帮助