Your best friend for file transfer.

Fetch application logoFetch

Identifying Changes -- using Jekyll (3 posts)

  • Started 9 years ago by Ron Jeffries
  • Latest reply 9 years ago from Ron Jeffries
  • Ron Jeffries Member

    I understand Mirror can move only "changed" files. I'm wondering how "changed" is determined.

    Details: I'm generating the site with Jekyll. It essentially recreates the entire site on each run, which means that every file in the generate has a new date, even if its contents are equal to what they were. I'd prefer not to move a thousand files every time I write a new blog.

    Competitor Transmit can decide to upload based on file size. This is pretty decent but can of course fail when I change "thsi" to "this".

    So I'm wondering if Fetch does something more sophisticated or has some other way of avoiding pushing the entire site.

    Thanks!

    Posted 9 years ago #

  • Jim Matthews Administrator

    Fetch only compares modification dates, so it would upload every file each time you regenerated the site. I wish I knew of an efficient way to detect changed files in a situation like yours.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

  • Ron Jeffries Member

    Thanks! I'm thinking i'll need to write a synchronizer that compares files locally and builds a tree that I can then mirror. Of course maybe there is a file sync app that includes compare.
    Thanks again!

    Posted 9 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.