Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2015
    Posts
    4

    Default mirror .htaccess files?

    Hi, i use a script to mirror 2 folders:

    Code:
    log verbose "C:\Backup\AdminLog.txt"
    option confirm:yes-to-all
    load create:left C:\folder X:\backup\folder
    select all
    sync create-empty mirror:left->right
    folder-report layout:summary options:display-all output-to:"%2" output-options:html-color
    but i have no .htacces files on the right side, what can i do?

    THX

  2. #2
    Join Date
    Dec 2007
    Location
    U.S. East coast
    Posts
    302

    Default

    Do those files have some special attribute such as hidden or protected? Maybe you need to use the "filter" command to display them.
    http://www.scootersoftware.com/v4hel...ce.html#filter

  3. #3
    Join Date
    Jul 2015
    Posts
    4

    Default

    thank you for your answer, but i do not complete understand what you mean.
    please can you give me an example for .htaccess?

    THX

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,609

    Default

    Hello,

    If you open the graphical interface, and load your two base folders into a new, blank Folder Compare, are your .htaccess files immediately visible? Or do you need to enable Suppress Filters to see them appear? If so, then we'll need to change your filters. The most likely change will need to be done in the Session Settings, Other Filters tab, and disable "Exclude protected operating system files". You will then need to add
    filter include-protected
    as the first line in your script.
    Aaron P Scooter Software

  5. #5
    Join Date
    Jul 2015
    Posts
    4

    Default

    Ok, thank you.
    The files are in the folder, after the mirroring it is hidden on the right site.

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,609

    Default

    Ok, so the sync is working, and the files are just hidden when you attempt to look at the folder in Explorer or Beyond Compare?

    And if you disable Exclude Protected Operating System Files in the Session Settings, everything appears as you expect?

    If there are still any issues, please let us know.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •