harmony 鸿蒙sync

  • 2022-08-09
  • 浏览 (664)

sync

Command Function

This command is used to synchronize cached data (data in the file system) to an SD card.

Syntax

sync

Parameters

None.

Usage Guidelines

  • The sync command is used to refresh the cache. If no SD card is inserted, no operation will be performed.

  • When an SD card is inserted, the cache information is synchronized to the SD card. If the synchronization is successful, no information is displayed.

Example

Run sync. Data will be synchronized to the SD card if an SD card is available, and no operation will be performed if no SD card is available.

Output

None.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Kernel

harmony 鸿蒙Kernel Coding Specification

harmony 鸿蒙Standard Libraries

harmony 鸿蒙Interrupt Management

harmony 鸿蒙Event

harmony 鸿蒙Mutex

harmony 鸿蒙Queue

harmony 鸿蒙Semaphore

harmony 鸿蒙Doubly Linked List

harmony 鸿蒙Memory Management

0  赞