This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:scripts:ftpsync [2014/06/05 15:30] – created 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 | ||
Line 38: | Line 38: | ||
done | done | ||
</ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | ~~DISCUSSION: |