ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Little mac annoyance

October 08, 2007 8:32am

Subscribe [4]
  • #1 / Oct 08, 2007 8:32am

    jtotheb

    54 posts

    Lets use codeigniter as an example.

    On my mac, i have my ci install and i’ve added a couple of custom files in there too under

    application->models

    Now say i want to update my ci install.

    What i would do on a pc is simply take the top level folder and drop it onto my current ci install top level folder. I would tell it to overwrite files where it one already existed and it would recurse through my install doing that. This would leave my model files intact as they are not part of the ci install and so wont be written over.

    On a mac however, it would delete them as it overwrites at folder level.

    Is there any way to change this behaviour?

    Grrrr.

  • #2 / Oct 09, 2007 1:07pm

    sophistry

    906 posts

    would terminal.app and the rsync unix command help?

    open terminal.app and type

    man rsync

    there are a bunch of switches. caveat, i don’t manage CI projects with rsync so YMMV.

  • #3 / Oct 09, 2007 1:28pm

    jtotheb

    54 posts

    Looks scary, thanks!

    I’ve found something called rsyncx which has a gui (command line is fine but sometimes i like to see what i’m upto!)

    I’m mostly just surprised that it is not holding down the mac key or something whilst dragging.

    Odd behaviour!

  • #4 / Oct 09, 2007 2:40pm

    CI Lee

    343 posts

    I upload to my server… merge files then. I hate it as well.

    Love most things about my mac, just hate that it thinks I am stupid, in fact at times I think it is stupid so I guess its a mutual feeling.

  • #5 / Oct 09, 2007 3:55pm

    jtotheb

    54 posts

    Do you use this rsync thingymajigg too then?

  • #6 / Oct 09, 2007 4:22pm

    Crimp

    320 posts

    I set up rsync with AppleScript to perform syncs from within BBEdit. You could do this automagically with two CI folders. I prefer to run a diff to see what’s going on with changes when I update the system. Here’s an AppleScript example that syncs two locations and excludes .DS_store and .svn files in the sync. Run the man for all your options. Just an idea that will allow you to focus on everything you gained by getting a Mac 😉

    do shell script "rsync -aE --delete-after --exclude=.DS_Store --exclude=.svn /LocationOne/Path… /LocationTwo/Path… || echo -n"
  • #7 / Oct 09, 2007 4:28pm

    jtotheb

    54 posts

    I have gained an awful lot from getting a mac, it really is a joy to use. I must say that i have never found it to be over simplified though like CI Lee is inferring. When i cant find something i’m on that command line faster than Linford Christie holding his breath.

  • #8 / Oct 29, 2007 6:27pm

    Chris J Smith

    15 posts

    I think a little lateral thinking is required here.  As WeeJames says, moving the applications separate is the answer.  Just move the application directory to your web root and it’ll still work (or even outside of it if you are like me).  Then upgrade system / user_guide only.

    This is why I use Vista.  I’ve had 3 recent macs (mini, old white imac, macbook) and still end up going back to my crappy Acer T180 with Vista on it because it’s familiar.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases