[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backing up



On 27/05/12 10:04 AM, Ralf Mardorf wrote:
If you added
cp -R ~/.thunderbird ~/.thunderbird.backup
to a script, than the backup must be in ~/.

Perhaps the script runs "cd /var/lib/gdm3" and you added "cp -R
~/.thunderbird .thunderbird.backup", the backup without the path?

You should post what exactly you edited.

- Ralf



You're partly right :)

frank@sid:/etc/gdm3/PostSession$
cat Default
#!/bin/sh
cp -R /home/frank/.thunderbird  thunderbird.backup
exit 0

frank@sid:/etc/gdm3/PostSession$

I failed to add "/home/frank" or ~ to the destination, perhaps
thinking wrongly cp would copy to the original directory.
My mistake...now fixed...


Frank


Reply to: