This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:scripts:ftpsync [2017/10/02 15:11] – Discussion status changed lunetikk | linux:scripts:ftpsync [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This script can be used to download all files from a dir on your ftp to a dir on your local harddrive. They will be synchronized and if everything is correctly downloaded they will be removed from ftp. A logfile will be written. | This script can be used to download all files from a dir on your ftp to a dir on your local harddrive. They will be synchronized and if everything is correctly downloaded they will be removed from ftp. A logfile will be written. | ||
| - | < | + | < |
| #!/bin/bash | #!/bin/bash | ||