Skip to content

Take control of your iCloud Drive files with iCloud NoSync - the ultimate utility for effortless sync and management! Get the edge you need to stay organized and up-to-date.

License

Notifications You must be signed in to change notification settings

itscanary/icloud-nosync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iCloud NoSync

iCloud is a powerful utility that allows users to sync files across multiple devices. However, sometimes users may want to prevent certain files or folders from syncing. Apple has a blacklist of file names and extensions that users should avoid using in their iCloud Drive. Adding the extension .nosync to a file is a simple way to prevent iCloud from syncing that file. This technique is useful for selective syncing. However, adding the same extension to a folder will not prevent iCloud from syncing its contents. The only way to prevent an entire folder from syncing is to name it tmp or end it with .tmp.



iCloud NoSync Finder



iCloud No Sync: hides and appends the appropriate extension to the file or folder, effectively stopping the sync process. It then creates a symbolic link with the same name as the original file or folder to avoid any issues with applications that depend on it.


iCloud Sync: it first unhides the original file or folder. Then, it removes the symbolic link and the extension to restart the synchronisation. This means that iCloud Sync always refers to the symlink to restart the sync, which ensures that the latest version of the file or folder is synchronised across all your devices. By removing the symbolic link and the extension, iCloud Sync ensures that the sync is done from scratch, which reduces the chances of any errors or conflicts during the synchronisation process.

Getting Started

Installation

Download the repository via curl:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/nicolodiamante/icloud-nosync/HEAD/bootstrap.sh)"

Alternatively, you can clone the repository manually:

git clone https://github.com/nicolodiamante/icloud-nosync.git

Once you have downloaded the repository, you can navigate into its directory in the terminal and paste the following code:

cd utils && source install.sh

The script will make a copy of the workflow files into ~/Library/Services.


Show in Quick Action Menu

Open System Preferences Arrow Extensions Arrow Select Finder then check the box:

  • iCloud No Sync
  • iCloud Sync

How It Works

  1. Right-click to the file or folder you want to stop syncing to iCloud Drive.
  2. Select iCloud No Sync from the Quick Actions menu to stop the sync.
  3. Select iCloud Sync from the Quick Actions menu to sync it again.



Quick Actions Menu


Notes

Resources

Contribution

Any suggestions or feedback you may have for improvement are welcome. If you encounter any issues or bugs, please report them to the issues page.

Nicolò Diamante

MIT License

About

Take control of your iCloud Drive files with iCloud NoSync - the ultimate utility for effortless sync and management! Get the edge you need to stay organized and up-to-date.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%