See what folders/ files are being synced from Selective Sync


Recommended Posts

I have got another MBP for work, however is limited in size, thus i have to use Selective Sync for large folders.

Is there any way to (i) run some type of commands/ or (ii) view an output/ file or (iii) UI that shows which files, paths are being synced as opposed to the ones which are selectively synced?

Some of my folders are many levels deep. I can only compare this with Dropbox (paid)/ OneDrive (business) as this is what i am trying to move away from.

Link to comment
Share on other sites

And with a little bit more power:

Works on Linux and Mac. And even on Windows if you've installed the Windows Subsystem for Linux.

find . -type f | grep -v .rsls* | awk -F"/" '{print $2"\t"$3"\t"$4}' | sort | uniq

 

What are we doing here.  Get all files from "." directory. Filter all files that don't have the extension ".rsls*" (other files are synced). Print out the second (the first is always a dot) and the third and fourth part. The delimiter is a TAB. After that we will sort it and only get unique. The $n vars are your depth, so in this case you are printing out three parts of the path beginning with the second.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.