updated README to match changes in files
This commit is contained in:
parent
3db0d255ab
commit
37476a3765
36
README.md
36
README.md
@ -46,14 +46,18 @@ Name the folder they go into in the backup variable, make it "" for the same loc
|
||||
set backup to "backup"
|
||||
```
|
||||
|
||||
Is your drive formatted either Fat32 or exFat? If so, change this to "yes"
|
||||
|
||||
```
|
||||
set fat32 to "no"
|
||||
```
|
||||
|
||||
Once it is all set up to run, in Script Editor:
|
||||
|
||||
File -> Export, select Application as file format
|
||||
|
||||
# Setup
|
||||
|
||||
|
||||
|
||||
Set the folders you want to sync:
|
||||
|
||||
* format "/path/to/folder/", "path/to/otherfolder"
|
||||
@ -94,7 +98,6 @@ Rsync is very powerful and can do lots of damage if you aren't careful. Any chan
|
||||
|
||||
The rsync manual: https://download.samba.org/pub/rsync/rsync.html
|
||||
|
||||
|
||||
## What Does That Do?
|
||||
|
||||
Here's what those settings mean:
|
||||
@ -104,6 +107,33 @@ Here's what those settings mean:
|
||||
|
||||
Path variables are enclosed in " " so spaces can be allowed.
|
||||
|
||||
# Rsync for FAT32 and exFAT drives
|
||||
|
||||
There are aspects of your files that are not saved on a FAT32 or exFAT device. Things like permissions and over ship. Additionally the time stamp isn't quite the same, which will result in all the files being copied over each time, rather than just the deltas.
|
||||
|
||||
So, if you want FAT format for its portability, we can tweak the rsync commands some to save time on the syncs.
|
||||
|
||||
```
|
||||
rsync -rtv --modify-window=1 <ORIGIN> <DESTINATION>
|
||||
```
|
||||
|
||||
You can set this by changing the setting to "yes"
|
||||
|
||||
```
|
||||
set fat32 to "no"
|
||||
```
|
||||
|
||||
## What does that do?
|
||||
|
||||
* **-r** recursive; go into any sub directories
|
||||
* **-t** times; preserve the modification times
|
||||
* **-v** verbose
|
||||
* **--modify-window=1** this adds a +/- 1 second window to the time check, which will help with time stamp differences
|
||||
|
||||
Note: this will probably cause a re-sync of all files after Daylight Savings, twice a year.
|
||||
|
||||
Source: https://askubuntu.com/questions/112863/rsync-not-working-between-ntfs-fat-and-ext
|
||||
|
||||
# All Done
|
||||
|
||||
Once it is all set up to run, in Script Editor:
|
||||
|
Loading…
x
Reference in New Issue
Block a user