Skip to content

Commit

Permalink
udpate filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
PingjunChen committed Jan 23, 2024
1 parent 55018b8 commit 87972db
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/filesystem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ Check size of all subdirectories

:code:`$ du -hs *`

Sync folder A into folder B
--------

.. code-block:: bash
$ rsync -avu --delete folderA_path folderB_path`
Options:
-a # sync preserving all filesystem attributes
-v # run verbosely
-u # only copy files with a newer modification time
--delete # delete the files in target folder that do not exist in the source
Searches directory recursively in subdirectories
--------
Expand Down

0 comments on commit 87972db

Please sign in to comment.