If you want to transfer a directory contents (but not the directory itself) to another directory, make sure you have specified the trailing / at the end of the source directory like below: $ rsync -av path/to/source_directory / path/to/destination_directoryĪ trailing slash on the source directory avoids creating an additional directory level at the destination. ![]() Heads Up: Here, the trailing slash (/) plays an important role. Copy or backup files and folders locallyĮnter your source and target paths under the Source and Destination section. Once you clearly understood what each option does, go ahead and backup your important data with Grsync. To avoid data loss, start with a dummy backup and test all the options one by one to verify how Rsync behaves. If you don't understand what each option does, just go with the defaults.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |