OneDrive sync app functionality is built into Windows 10 and Windows 8.1 and supports connecting to OneDrive for work or school to sync your work or school files. For more information, see Sync files with OneDrive in Windows. To share files and folders from File. OneDrive for work or school provides accessible storage in the cloud for your personal and work files. You can use it with touch gestures and the TalkBack screen reader on your Android device. On this page you can find links to accessibility help articles that are written for people who use screen readers with OneDrive for work or school. Quit OneDrive by right clicking on the OneDrive icon in the Menu Bar (top RHS of screen). Open Finder / Applications and right click on the OneDrive app. Select ‘Siew package contents’ In Contents / Resources, double-click on ResetOneDriveApp.command – a script will run. Start OneDrive and re-enter your login credentials. Store photos and docs online. Access them from any PC, Mac or phone. Create and work together on Word, Excel or PowerPoint documents.
-->使用OneDrive文件随需要,文件可以有三种状态之一。With OneDrive Files On-Demand, files can be in one of three states.其中每个状态对应于一个文件属性状态。Each of these states corresponds to a file attribute state.若要查询文件或文件夹的当前状态,请使用以下命令:To query the current state of a file or folder, use the following command:
- /Applications/OneDrive。App/Contents/MacOS/OneDrive /getpin<Path to file or folder>/Applications/OneDrive.App/Contents/MacOS/OneDrive /getpin <Path to file or folder>
可编写脚本的命令Scriptable commands
使用以下命令设置文件和文件夹状态。Use the following commands to set file and folder states.
文件按需状态Files On-Demand state | 文件属性状态File attribute state | CommandCommand |
---|---|---|
始终可用Always available | 已固定Pinned | /Applications/OneDrive。App/Contents/MacOS/OneDrive /setpin<path>/Applications/OneDrive.App/Contents/MacOS/OneDrive /setpin <path> |
本地可用Locally available | ClearpinClearpin | /Applications/OneDrive。App/Contents/MacOS/OneDrive /clearpin<path>/Applications/OneDrive.App/Contents/MacOS/OneDrive /clearpin <path> |
仅联机Online-only | UnpinnedUnpinned | /Applications/OneDrive。App/Contents/MacOS/OneDrive /unpin<path>/Applications/OneDrive.App/Contents/MacOS/OneDrive /unpin <path> |
Unpin Onedrive Windows 10
备注
How To Remove Onedrive From Computer
若要设置文件夹中所有项目的 file 属性状态,请添加 /r 参数。To set the file attribute state for all items within a folder, add the /r parameter.
固定仅联机文件可使同步应用下载文件内容,取消固定下载的文件不会本地存储文件内容,因此可释放设备上的空间。Pinning an online-only file makes the sync app download the file contents, and unpinning a downloaded file frees up space on the device by not storing the file contents locally.
若要将仅联机文件或文件夹设置为'本地可用',必须先将该文件或文件夹设置为'始终可用'。To set an online-only file or folder to 'locally available,' you must first set it to 'always available.'