3 ms·
WRT the web file, curl can be run and only download a file if the file has been modified after the file on disk. DB are harder (yet possible) but not a common
by falcolas 9y ago
WRT the web file, curl can be run and only download a file if the file has been modified after the file on disk.
DB are harder (yet possible) but not a common request that I’ve seen.
- makmanalp 9y agocurl -z only works if the server has the proper headers set - good luck with that. The point is, it's great to be able to have custom conditions for determining "needs to be updated", for example.
- ycombobreaker 9y agoYou can always download to a temporary location and only copy to the destination file if there is a difference. You don't need direct support from curl or whatever other tool generates the data.