How to remove a android directory automatically while booting

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to remove a android directory automatically while booting

2,335件の閲覧回数
aravinthkumarja
Senior Contributor II

Hi all,

I'm using android 4.4.3, i want to delete the following directory on every booting.

/data/data/com.android.providers.settings/   --> this is the directory

In init.rc file i give all commands(rm -rf, rmdir, exec rm -rf), but it's not deleting.

Can you give the right init.rc command to delete a android directory???

Regards,

Aravinth

0 件の賞賛
返信
1 返信

1,787件の閲覧回数
b36401
NXP Employee
NXP Employee

You can remove content of this directory with the command like

rm -r /data/data/com.android.providers.settings/*

but the directory itself can not be deleted.

Have a great day,

Victor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信