User Tools

Site Tools


rsync_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rsync_notes [2021/05/25 12:54] adminrsync_notes [2021/05/25 12:55] (current) admin
Line 1: Line 1:
-==== top level separation ====+===== top level separation =====
 Situation:\\ Situation:\\
 I have a directory (say source/) with many sub directories and files under it (source/dir1, source/dir2, ... , source/file1, source/file2, ...). I want to copy it to two separate folders (say destA, destB). The first folder contains all the top level files (source/file1, source/file2 etc.,), the second folder contains the rest (source/dir1, source/dir2 etc., but not source/file1, or source/file2 etc.,). I have a directory (say source/) with many sub directories and files under it (source/dir1, source/dir2, ... , source/file1, source/file2, ...). I want to copy it to two separate folders (say destA, destB). The first folder contains all the top level files (source/file1, source/file2 etc.,), the second folder contains the rest (source/dir1, source/dir2 etc., but not source/file1, or source/file2 etc.,).
rsync_notes.1621947290.txt.gz · Last modified: 2021/05/25 12:54 by admin