Jump to content

dpsr

Member
  • Posts

    2
  • Joined

  • Last visited

dpsr's Achievements

Helping Hand

Helping Hand (3/5)

2

Reputation

  1. Unfortunately, adding the CloudStorage folders is only half the battle. Spotlight, and therefore Alfred, doesn't appear to "see" files under the subfolders, until you navigate inside that folder. This is especially true on new Macs with OneDrive installed for the first time. I posted a workaround for this in a Dropbox thread here:
  2. It appears that Dropbox Beta and OneDrive (which also now uses Apple's File Provider API) the contents of the folder don't load until you navigate to that folder. Due to this, the "files" never make it to the Spotlight index and therefore Alfred doesn't show them. Navigate to the folder and immediately Alfred has the file in its searches. This also makes the File Search Troubleshooter always yield positive results, because to test a file you have to first navigate to Finder, thus adding it to the Spotlight/Alfred index. A workaround that I've created, which appears to be working for the most part, is to run a small command in Terminal that forces all the folders to enumerate and therefore they get added to the index. Open Terminal and go to the top Dropbox/OneDrive folder, then run this command: ls -R */ The ls command doesn't change files, but merely lists all folders/files The -R switch says to do it recursively through subfolders The */ says to list subfolder contents Depending on the number of subfolders, this command might take a while, but you can leave the Terminal window open with the command running in the background while you do other things. Update: You also will need to add ~/Library/CloudStorage to Alfred's search scope for Alfred to index the files.
×
×
  • Create New...