View Single Post
Old 31-08-2007, 11:26 AM   #11 (permalink)
Stefan Huebner
Registered+
 
Join Date: Aug 2007
Location: Ilmenau / Jena
Posts: 70
Thanks: 1
Thanked 0 Times in 0 Posts
Re: Backing up N5200 to external USB drive

as for my experience ... regarding the published script @ http://thecususergroup.proboards106....ead=1180594056

the n2100 doesn't have cp -u - does the n5200? I wouldn't think so if it's also based upon busybox, as busybox doesn't support it...

And that's what makes the script blow up, as it has to recursively copy each file, testing with
Code:
if [ "$sourcefile" -nt "$targetfile" ] ; then
    cp -fp "$sourcefile" "$targefile"
fi
...

Hardware mods:
# they void your warranty
# they may seem to work, but kill your machine later on
# they are mostly unneeded, because the engineers who built a machine knew what they were doing...
Stefan Huebner is offline   Reply With Quote