maghuro
Very Senior Member
Hello guys.
Right now I'm using that line to make a backup of my entire jffs in shell:
However, everything inside the "jffs_xxxx.tar" file is inside a subfolder ("jffs" in this case).
My question is, using shell script, how can I make this backup without having a subfolder inside the tar file? I mean, I want exactly what "Backup jffs" on webui does, the exactly same structure (http://router.asus.com/Advanced_SettingBackup_Content.asp)
Thanks.
Right now I'm using that line to make a backup of my entire jffs in shell:
Bash:
tar -cf some_folder/jffs_"$FWVER".tar /jffs >/dev/null 2>&1
However, everything inside the "jffs_xxxx.tar" file is inside a subfolder ("jffs" in this case).
My question is, using shell script, how can I make this backup without having a subfolder inside the tar file? I mean, I want exactly what "Backup jffs" on webui does, the exactly same structure (http://router.asus.com/Advanced_SettingBackup_Content.asp)
Thanks.