Guest liorwei Posted August 7, 2010 Report Share Posted August 7, 2010 i took it from http://www.londatiga.net/it/how-to-create-...te-zip-package/ so, here it is: copy_dir Syntax: copy_dir <src-dir> <dst-dir> [<timestamp>] Copy the contents of <src-dir> to <dst-dir>. The original contents of <dst-dir> are preserved unless something in <src-dir> overwrote them. Ex: copy_dir PACKAGE:system SYSTEM: format Syntax: format <root> Format a partiti0n Ex: format SYSTEM:, will format entire /system . Note: formatting erases data irreversibly. delete Syntax: delete <file1> [... <fileN>] Delete file. EX: delete SYSTEM:app/Calculator.apk, will delete Calculator.apk from system/app directory. delete_recursive Syntax: delete_recursive <file-or-dir1> [... <file-or-dirN>] Delete a file or directory with all of it’s contents recursively Ex: delete_recursive DATA:dalvik-cache, will delete /data/dalvik-cache directory with all of it’s contents run_program Syntax: run_program <program-file> [<args> ...] Run an external program included in the update package. Ex: run_program PACKAGE:install_busybox.sh, will run install_busybox.sh script (shell command) included in the update package. set_perm Syntax: set_perm <uid> <gid> <mode> <path> [... <pathN>] Set ownership and permission of single file or entire directory trees, like ‘chmod’, ‘chown’, and ‘chgrp’ all in one Ex: set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive Syntax: set_perm_recursive <uid> <gid> <dir-mode> <file-moe> <path> [... <pathN>] Set ownership and permission of a directory with all of it’s contents recursively Ex: set_perm_recursive 0 0 0755 0644 SYSTEM:app show_progress Syntax: show_progress <fraction> <duration> Use of the on-screen progress meter for the next operation, automatically advancing the meter over <duration> seconds (or more rapidly if the actual rate of progress can be determined). Ex: show_progress 0.1 0 symlink Syntax: symlink <link-target> <link-path> Create a symlink (like ‘ln-s’). The <link-path> is in root:path format, but <link-target> is for the target filesystem (and may be relative) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now