Curiosity Image Retrieval Tools, scripts and software |
Curiosity Image Retrieval Tools, scripts and software |
![]()
Post
#101
|
|
![]() Member ![]() ![]() ![]() Group: Members Posts: 270 Joined: 29-December 04 From: NLA0: Member No.: 133 ![]() |
I wrote a shell script that allows you to download all images from a given sol.:
http://paranoid.dechengst.nl/files/MSLget.sh There are two rm commands in the script to clean up the tempdir. If you're afraid my script screws up your system replace them with rm -i commands. If you want any features added please let me know and I'll see what I can do. EDIT1: Added leading zeros in the directory names for easy sorting after a request for it on IRC. EDIT2: I see a lot of people downloading the script. To be clear: This is a script for *NIX systems and won't run on a standard Windows box. To get it running under Windows you need to install a *NIX environment like Cygwin. Your other option would be to install something like Ubuntu in VirtualBox. EDIT3: As RoverDriver pointed out you need to have wget on your system to use this script. The script now handles this gracefully. -------------------- PDP, VAX and Alpha fanatic ; HP-Compaq is the Satan! ; Let us pray daily while facing Maynard! ; Life starts at 150 km/h ;
|
|
|
![]() |
![]()
Post
#102
|
|
Junior Member ![]() ![]() Group: Members Posts: 60 Joined: 3-January 09 Member No.: 4520 ![]() |
Hi Joe - thanks for reading over my scattered notes. Let me fill in some of the details.
First and foremost: I don't know what else you're running on this VM or host you have, nor your traffic, but, if my guess is right - don't worry too much about the database. Databases are built to handle this kind of thing, in general. I've done far, FAR worse, many times. (Both on my own and with someone's else money at stake, heh.) The worst thing that could happen is that you'd have to add an index or two somewhere down the road. It's no big deal, especially with only 4 or 5 digits (<100000) of pictures. Feel free to email/PM if you find your database is slowing things down too much. I didn't explain myself very well on "cookied view settings". Apologies for the confusion. I was referring to selectively saving particular settings that related to view preferences. Not the whole kit and kaboodle. So, currently, I'd think about throwing the items per page, thumbnail size, and maybe the camera selections into a cookie. I would definitely not save in a cookie which page you were on. Also potentially interesting as a "sticky" setting is the optional columns. BTW I had another idea about a feature - this probably applies equally well to Ludo's site. It'd be great if the site remembered the last time you came. It could mark pictures posted since then as "new", or draw a line in the listing. Sophisticated "new" markers can get tricky. But luckily, this can be simple. Simply set the cookie at time of the current page hit, but only if there's no cookie yet, or if last cookied time is more than 30 minutes ago. |
|
|
![]()
Post
#103
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 1465 Joined: 9-February 04 From: Columbus OH USA Member No.: 13 ![]() |
It'd be great if the site remembered the last time you came. It could mark pictures posted since then as "new", or draw a line in the listing. Sophisticated "new" markers can get tricky. But luckily, this can be simple. Simply set the cookie at time of the current page hit, but only if there's no cookie yet, or if last cookied time is more than 30 minutes ago. Interesting thought. What's the idea of the 30-minute guard time? I guess you don't want to leave unflagged items that may have come in during the last session? -------------------- |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 20th June 2024 - 04:06 PM |
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE COPYRIGHT |
OPINIONS AND MODERATION Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators. |
SUPPORT THE FORUM Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member. |
![]() |