Re: Home Folder Name Change
Re: Home Folder Name Change
- Subject: Re: Home Folder Name Change
- From: Gil Dawson via AppleScript-Users <email@hidden>
- Date: Wed, 13 May 2020 15:25:08 -0700
Thank you, guys, for the great advice and suggestions.
Thanks to Frank and Steve for suggesting a couple of elegant ways around my
problem
set username to system attribute "USER"
“path to home folder”
Thanks to Daivy for reminding me how I should've done it in the first place.
if you use MA to migrate,
you should create an ad account with a different name
Thanks to Kellen for his encouragement and for handing me Apple's Guidelines on
how to do it. I had a lot more confidence while reading the Palatino typeface
and the clear step-by-steps. I followed this procedure; it is done, and the
computer is still working. It may be a while before I'm fully satisfied that
nothing was messed up.
Thanks to Laine for detailed instructions using Terminal. Not only did he warn
me about leaving a space in the username, but he also explained a bunch of
fixes I might try when unintended things start showing up.
Thanks to all you guys for your time and suggestions. I feel well-supported by
this group.
--Gil
> On May 12, 2020, at 5:02 PM, Gil Dawson <email@hidden> wrote:
>
> Hi--
>
> I used Migration Assistant to copy from my 2009 MacBook Pro with onto a newer
> 2015 MacBook Pro.
>
> Somehow in the process my home-folder-name (is that the right term?) got
> changed from "gil" to "gil 1"
>
> <PastedGraphic-12.png>
>
> Most things work OK, but some of my AppleScripts use a hard-coded path. They
> work if I simply change the path a bit:
>
> from: POSIX file "/Users/gil/Gil'sStuff/Projects/..."
> to: POSIX file "/Users/gil 1/Gil'sStuff/Projects/..."
>
> It's not an awful chore for me to change all my source code files, yet I
> thought I'd ask:
>
> Is there a practical way to change my home-folder-name back to "gil" without
> messing up something else?
>
> --Gil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden