[Users] Moving files
Charles Curley
charlescurley at charlescurley.com
Wed Jan 4 14:40:49 CET 2012
On Wed, 4 Jan 2012 22:01:42 +1100
"Owen" <rcook at pcug.org.au> wrote:
> My guess is that there are no long file names,
Not so.
To find out which files need changing and where, something like:
find -type f | xargs grep '/home/foo' | grep -v '.bak'
> and therefore the
> simplest solution would be to;
>
>
>
> 1. Copy over /home/foo/.claws-mail/ to /home/bar/.claws-mail
> 2. Copy over /home/foo/Mail to /home/bar/Mail
> 3. Change any username specific entries in your new configuration
> (these entries are normally related to your isp account and probably
> don't need changing)
> 4. depending on how you do the copy, you may have change ownership of
> the transferred files.
5. Run the above and variants on it and edit as needed.
You could also work something out with sed to save the editing.
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
More information about the Users
mailing list