This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
linux:scripts:ftpsync [2017/10/02 15:11] – Discussion status changed lunetikk | linux:scripts:ftpsync [2017/11/29 16:57] – lunetikk | ||
---|---|---|---|
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 | ||