Look for, backup and delete symlinks

view story

http://www.unix.com – Hi, My first post here: Was looking if someone can help enhancing my code. I am limited to sh or ash shell (android / busybox) I made a script to look for busybox symlinks, backup them and delete them I have these questions about the below code: - busybox tar do not has the options to append to an archive, any workaround for my script to avoid backing up separate files? - I want to avoid grep to search for busybox string in the readlink output results. if [[ str1 == *busybox ]] option is not recognized in my case - any other advises about that script are welcome Thanks a lot Code (HowTos)