5 ms·
My usual procedure goes something like this: rsync -P foobar.png personal.sircmpwn.com:/var/html/ # "hey dude, go download http://personal.sircmpwn.com
by Sir_Cmpwn 12y ago
My usual procedure goes something like this:
rsync -P foobar.png personal.sircmpwn.com:/var/html/
# "hey dude, go download http://personal.sircmpwn.com/foobar.png"
- pimlottc 12y agoI do this too, but I find it annoying not knowing if the file has been received and when it's safe for me to delete it.
- Sir_Cmpwn 12y ago"Did you get that file I sent you?" "Yes" "Great, thanks" $ ssh personal.sircmpwn.com rm /var/html/foobar.png
- nl5874 12y agoNext version I'll add the possibility to add a timespan in number of days or number of downloads before deletion. What about that?
- TheLoneWolfling 12y agoI'd personally love a website that offered self-destructing url pointers or downloads. So, a url that redirects once to the target, that sort of thing.
- pimlottc 12y agoYou might not want to be too strict about it. I know I'll sometimes look at an attachment on the go, but not be able to download it until later when I'm at home.
- unsignedint 12y agoI often do this and found that I often forget about it and it turns into a big mess of outdated file, so I periodically run a script in crontab that kills files older than a certain age. Works great for me.