Skip to content

Remove/PreserveComponent won't respect wildcards #7

@nzmacgeek

Description

@nzmacgeek

Lines 429-431:

PreserveComponent "/Users/*/Documents/Microsoft User Data/Office 2011 Identities" "Outlook Identities and Databases"
PreserveComponent "/Users/*/Documents/Microsoft User Data/Saved Attachments" "Outlook Saved Attachments"
PreserveComponent "/Users/*/Documents/Microsoft User Data/Outlook Sound Sets" "Outlook Sound Sets" 

The quoting of parameter 1 to these functions is preventing the wildcard expansion from working correctly. Indeed, a problem in these is that the intent would be to run mv with these paths, which would not work either. I suspect that using ls in /Users and excluding the Shared folder would have the best effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions