Portál AbcLinuxu, 6. listopadu 2025 21:25
Řešení dotazu:
[babjak@cronin][~/tmp/rsync][08:23:57] tree source/
source/
├── a
├── b
├── c
│ └── cc
├── norsync
│ ├── e
│ └── f
│ └── g
└── x
└── y
├── norsync
│ └── n
└── z
└── q
8 directories, 6 files
[babjak@cronin][~/tmp/rsync][08:24:13] rsync --archive --exclude '**/norsync' source/ destination/
[babjak@cronin][~/tmp/rsync][08:24:29] tree destination/
destination/
├── a
├── b
├── c
│ └── cc
└── x
└── y
└── z
└── q
5 directories, 3 files
[babjak@cronin][~/tmp/rsync][08:24:32]
--exclude='nosync/'
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.