How can I save the contents of all my /jffs/usericon? I have many symbolic links saved so I dont exceed the capacity of icons - many many of my icons are repeated. I have tried several ways but I am unable to move over the symbolic links.
I created hardlinks with ln ShellyNG.log B4B024551922.log (for example). When I do an ls of the directory, the files are shown in green and the hard links are shown in blue. But then when I try to copy, I either cannot copy the hard links or I copy the hard links as files too. Neither is preferable if I want to easily transfer the icons back to my newly reset router.
cp -r /jffs/usericon /tmp/mnt/NO_NAME fails: "cp: can't create symlink '/tmp/mnt/NO_NAME/usericon/B4B024B47AFA.log': Operation not permitted"
cp -aL /jffs/usericon /tmp/mnt/NO_NAME fails too because the hard linked files are copied and not as links. So I get too many icon for the directory when I restore.
Is there an easy way to do this?
I created hardlinks with ln ShellyNG.log B4B024551922.log (for example). When I do an ls of the directory, the files are shown in green and the hard links are shown in blue. But then when I try to copy, I either cannot copy the hard links or I copy the hard links as files too. Neither is preferable if I want to easily transfer the icons back to my newly reset router.
cp -r /jffs/usericon /tmp/mnt/NO_NAME fails: "cp: can't create symlink '/tmp/mnt/NO_NAME/usericon/B4B024B47AFA.log': Operation not permitted"
cp -aL /jffs/usericon /tmp/mnt/NO_NAME fails too because the hard linked files are copied and not as links. So I get too many icon for the directory when I restore.
Is there an easy way to do this?