.tar.gz and also .tgz?
When posting a file, the upload process should accept files named .tgz as well as .tar.gz.
If that were implemented then I, a crotchety old badger, wouldn't have to relearn typing my tar command. As it stands, I tar -czf it to a .tgz, move it, upload it, watch it fail, headchuck myself, rename the file as .tar.gz, upload again and watch it be successful.
Or, actually, I've only done it once so far, but I've only got my *nix box set up and working with Kismet last night...
Or shall I just wear a helmet?
Thanks,
If that were implemented then I, a crotchety old badger, wouldn't have to relearn typing my tar command. As it stands, I tar -czf it to a .tgz, move it, upload it, watch it fail, headchuck myself, rename the file as .tar.gz, upload again and watch it be successful.
Or, actually, I've only done it once so far, but I've only got my *nix box set up and working with Kismet last night...
Or shall I just wear a helmet?
Thanks,
As part of your move step why not just rename it? there is no real difference in the file contents. Just that the .tgz was a TLA convenince for windows users.
Try this. Warning: may be buggy or erase files, proceed at your own risk.
Code: Select all
wigle ()
{
local p=$1;
local n="";
shift;
for e in gps csv xml;
do
for f in $*;
do
n="$n $f.$e";
done;
done;
echo tar cvzf $p.tar.gz $n;
tar cvzf $p.tar.gz $n
}
FIXED !!Try this. Warning: may be buggy or change uploadcredit to goldfndr for the files, proceed at your own risk.
Dutch
[url=http://www.wigle.net/gps/gps/StatGroup/listusers?groupid=20041206-00006][img]http://home19.inet.tele.dk/dutch/netstumblerwigle.gif[/img][/url]
All great suggestions, thanks!
As a short aside, is there a way to upload files without the web page? I mean, I could always use, say, lynx, but it'd be really great if I could just ftp them straight to wigle.net with my username and password... that'd be really easily scriptable so goldfndr's "wigle.sh" could be the start of a full service script that tar and gzips today's file, then uploads it without further interaction.
As a short aside, is there a way to upload files without the web page? I mean, I could always use, say, lynx, but it'd be really great if I could just ftp them straight to wigle.net with my username and password... that'd be really easily scriptable so goldfndr's "wigle.sh" could be the start of a full service script that tar and gzips today's file, then uploads it without further interaction.
Also, is there a way to cancel an upload?
I accidentally used too permissive of a glob pattern when getting my last set of files ready and accidentally uploaded like 50 files, most of which have already been uploaded.
I don't expect it to cause any problems (other than keeping the server busy for a while), but it would really be nice if I could cancel or delete those jobs.
I accidentally used too permissive of a glob pattern when getting my last set of files ready and accidentally uploaded like 50 files, most of which have already been uploaded.
I don't expect it to cause any problems (other than keeping the server busy for a while), but it would really be nice if I could cancel or delete those jobs.
Return to “WiGLE Project Suggestions”
Who is online
Users browsing this forum: No registered users and 3 guests