Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

frustrated- find a downloaded file?

3 views
Skip to first unread message

Pete

unread,
Jul 29, 2006, 2:09:23 PM7/29/06
to
I really apologise for this question - I've googled everything I can think
of and not found the answer.

I just downloaded an entire iso file. Now, stupidly, I can't find it. Find,
whereis and grep haven't helped, probably because I'm using them wrongly.

Can someone save what's left of my hair and tell how to find where I
downloaded it to??

Aragorn

unread,
Jul 29, 2006, 2:18:01 PM7/29/06
to
On Saturday 29 July 2006 20:09, Pete stood up and spoke the following
words to the masses in /alt.os.linux.mandriva...:/

If you've downloaded the file with /Konqueror,/ you should have gotten a
dialog regarding where (and under what name) you wished to store the
file.

Possibly the file went to *~/Downloads* - which is why Mandriva 2006
features such a directory - but if you used /FireFox,/ then it's also
possible that the file went into a hidden directory *~/.firefox.*

_Note:_ the tilde (~) is an abbreviation for your home directory.

--
With kind regards,

*Aragorn*
(Registered GNU/Linux user #223157)

Wes Newell

unread,
Jul 29, 2006, 2:31:43 PM7/29/06
to

If you used firefox to dl it, then open the dl manager (Tools ->
Download), highlight that entry, right click and choose properties.

You can also use locate oe slocate, but you must update the db first if it
hasn't done so automatically (updatedb).
[wes@wes2 ~]$ locate m55plus
/home/wes/pdf/m55plus_s3g_e.pdf
[wes@wes2 ~]$

--
Want the ultimate in free OTA SD/HDTV Recorder? http://mythtv.org
http://mysettopbox.tv/knoppmyth.html Usenet alt.video.ptv.mythtv
My server http://wesnewell.no-ip.com/cpu.php
HD Tivo S3 compared http://wesnewell.no-ip.com/mythtivo.htm

Message has been deleted

Dan Espen

unread,
Jul 29, 2006, 5:22:00 PM7/29/06
to
Pete <pe...@notreally.co.uk> writes:

Repeat the steps you took to download it.
This time, notice where it's going to put the file.

Don't start the actual download of course.

Allodoxaphobia

unread,
Jul 29, 2006, 6:02:05 PM7/29/06
to
On Sat, 29 Jul 2006 19:09:23 +0100, Pete wrote:
>
> I just downloaded an entire iso file. Now, stupidly, I can't find it. Find,
> whereis and grep haven't helped, probably because I'm using them wrongly.
> Can someone save what's left of my hair and tell how to find where I
> downloaded it to??

And, in addition to the other suggestions, there is:

$ locate "...an entire iso file..."

As always: cAsE-sEnSiTIve. If slocate -u` has not been run since the
download, that would be necessary first.

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http//jonz.net/ng.htm>

Eric

unread,
Jul 30, 2006, 12:44:03 AM7/30/06
to
Jim Townsend wrote:

>
> If the file is in your home directory you can find it with the command:
>
> find ~ -name '*iso'
>
> repeat the search with upper case '*ISO' if the above doesn't work.

Ouch!
find ~ -iname "*iso" will do both upper lower and even mixed case all at
once.
Eric

Pete

unread,
Jul 30, 2006, 5:06:32 AM7/30/06
to
Allodoxaphobia wrote:

> On Sat, 29 Jul 2006 19:09:23 +0100, Pete wrote:
>>
>> I just downloaded an entire iso file. Now, stupidly, I can't find it.
>> Find, whereis and grep haven't helped, probably because I'm using them
>> wrongly. Can someone save what's left of my hair and tell how to find
>> where I downloaded it to??
>
> And, in addition to the other suggestions, there is:
>
> $ locate "...an entire iso file..."
>
> As always: cAsE-sEnSiTIve. If slocate -u` has not been run since the
> download, that would be necessary first.
>
> Jonesy

What a struggle - thanks to all, I found it. The reason I couldn't was I'd
downloaded it in Konqueror (which doesn't seem to give a realtime download
destination choice?) and the ftp had failed, leaving the file called
###.iso.part - which I hadn't been looking for.

Back to Firefox I think.

PS what's the best source for a complete list of Mandriva linux commands?
You can only man a command if you know it exists :-)

Bit Twister

unread,
Jul 30, 2006, 9:15:08 AM7/30/06
to
On Sun, 30 Jul 2006 10:06:32 +0100, Pete wrote:

> You can only man a command if you know it exists :-)

not if you read the man page for man.

First you should know what the number in parens mean.
1 User commands
2 System Calls
3 Subroutines
4 Devices
5 File Formats
6 Games
7 Miscellaneous
8 System Administration
n New

so doing a
man -k * | grep -v "(2" | grep -v "(3"
Will get you quite a list of information. On my system, 4487

I have been playing with a script you might want to try.
Save the file including the #* lines in a file called ux

#**********************************************************
#*
#* ux - search Unix Help, urls, email files with keywords.
#*
#* basename is called to determine command and file to use.
#*
#* To add a new slectiion:
#* copy a case stanza, set case_name, _cmd
#* create a link with ln -s ux new_case_name
#*
#**********************************************************

tput clear

_exe=$(basename $0)

case $_exe in
uloc)
_cmd="locate -i $1 "
;;
um)
_cmd="apropos $1"
;;
userv)
_cmd="grep -i $1 /etc/services"
;;
sp)
_cmd="look $1 /usr/share/dict/words"
;;
*)
echo "Unknown exe name $_exe"
exit 1
;;
esac


_cnt=$#

case $_cnt in
1)
$_cmd
;;
2)
$_cmd | grep -i $2
;;
3)
$_cmd | grep -i $2 | grep -i $3
;;
4)
$_cmd | grep -i $2 | grep -i $3 | grep -i $4
;;
5)
$_cmd | grep -i $2 | grep -i $3 | grep -i $4 | grep -i $5
;;
6)
$_cmd | grep -i $2 | grep -i $3 | grep -i $4 | grep -i $5 | grep -i $6
;;
*)
tput clear
echo usage: $0 keyword1 [keyword2] [keyword3] [keyword4] [keyword5] [keyword6]
;;
esac

#********************* end ux ******************************

Then do the following:

chmod +x ux
ln -s ux um
ln -s ux uloc
ln -s ux userv
ln -s ux sp

Now you have a multi word, case insensitive, search feature program.
You can use just one word or up to 6 to refine results.

um searches man -k list Example: um user perm
uloc searches locate list Example: uloc index.html help
userv searchs the /etc/services file Example: userv ftp
sp searches the dictionary Example: sp rel n o t

I put urls with key word in my /site/doc/urls file and can do a

urls bash doc which returns
http://tldp.org/LDP/abs/html/index.html ! bash script advanced documentation
http://tldp.org/LDP/intro-linux/html/index.html ! bash intro to Linux doc

I have another file /site/doc/unix.help which are tips, tricks,
commands I see in a news group or I had to lookup.

uh loop iso
compare cdrom and iso diff --brief -d -r /mnt/cdrom /mnt/loopbacked_iso
iso image mount cmd mount -t auto -o ro,loop=/dev/loop0 image.iso /mnt/cdrom

Or for multi-line stuff
uh spell0
spell01 Everyone should have some ideal about programming just to see what
spell02 it is and what it is not.
spell03
spell04 What it is, is: Casting mystical spells in terminology,
spell05 whose exact details have exact ramfications.
spell06
spell07 What it is not, is: Talking or typing to the computer in some way
spell08 that it requires intellitgence by the machine.

James D. Beard

unread,
Jul 30, 2006, 9:20:55 AM7/30/06
to
Pete wrote:
> PS what's the best source for a complete list of Mandriva linux commands?
> You can only man a command if you know it exists :-)

In the bash shell:

for c in /bin/* /sbin/* /usr/bin/* /usr/sbin/*
do
ls $c >> commands
done

Cheers!

jim b.

--
Unix is not user-unfriendly; it merely
expects users to be computer-friendly.

Bit Twister

unread,
Jul 30, 2006, 9:39:26 AM7/30/06
to
On Sun, 30 Jul 2006 08:15:08 -0500, Bit Twister wrote:
>
> Then do the following:
>
> chmod +x ux
> ln -s ux um
> ln -s ux uloc
> ln -s ux userv
> ln -s ux sp

Forgot to mention. If you did not save the script somewhere in your
PATH envrionment and created the links, there you will have to do
something like

./um user perm or ./uloc index.htm

Solution would be:

cd /usr/local/bin/
(save/copy ux script here)

Pete

unread,
Jul 30, 2006, 12:28:24 PM7/30/06
to
James D. Beard wrote:

> Pete wrote:
>> PS what's the best source for a complete list of Mandriva linux commands?
>> You can only man a command if you know it exists :-)
>
> In the bash shell:
>
> for c in /bin/* /sbin/* /usr/bin/* /usr/sbin/*
> do
> ls $c >> commands
> done
>
> Cheers!
>
> jim b.
>

Thanks guys - fascinating stuff, and something to get my teeth into.

Jim, I tried your bash commands quickly, and get a msg 'unexpected symbol >>
' or words to that effect. Have I missed something?

James D. Beard

unread,
Jul 30, 2006, 1:43:12 PM7/30/06
to

Probably a typo. Try a cut and paste of this short shell script.

You could change that line to
ls $c |less

and let output go to standard output.
or cd to each of the directories listed /bin /sbin...
and run ls in each.

Allodoxaphobia

unread,
Jul 30, 2006, 2:14:36 PM7/30/06
to
On Sun, 30 Jul 2006 13:20:55 GMT, James D. Beard wrote:
> Pete wrote:
>> PS what's the best source for a complete list of Mandriva linux commands?
>> You can only man a command if you know it exists :-)
>
> In the bash shell:
>
> for c in /bin/* /sbin/* /usr/bin/* /usr/sbin/*
> do
> ls $c >> commands
> done


|$ for c in /bin* /sbin* /usr/bin* /usr/sbin*
|do
|ls -p $c >> cmd_raw
|done
|
|$ sort -u < cmd_raw > cmd_lst
|
|$ wc -l cmd_lst
|2709 cmd_lst
|
|$ tail -n 12 cmd_lst
|zic
|zip
|zipcloak
|zipgrep
|zipinfo
|zipnote
|zipsplit
|zjsdecode
|zless
|zmore
|znew
|zonetoldap
|
|$ man zic
|No manual entry for zic


If you otherwise have A Life, you'll _never_ know it all. Even as you
learn new 'things', the neurons where you stored the earlier knowledge
are dying off.

Chris F.A. Johnson

unread,
Jul 30, 2006, 6:58:12 PM7/30/06
to
On 2006-07-30, James D. Beard wrote:
> Pete wrote:
>> PS what's the best source for a complete list of Mandriva linux commands?
>> You can only man a command if you know it exists :-)
>
> In the bash shell:
>
> for c in /bin/* /sbin/* /usr/bin/* /usr/sbin/*
> do
> ls $c >> commands
> done

Rather than calling ls thousands of times (slow as molasses), do it
once:

ls /bin /sbin /usr/bin /usr/sbin > commands

Or not at all (using only built-in commands is faster):

printf "%s\n" /bin/* /sbin/* /usr/bin/* /usr/sbin/* > commands


However, that may not get all the commands. It is better to use the
directories contained in your PATH variable:

for dir in ${PATH//:/ }
do
printf "%s\n" "$dir/"*
done > commands

--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence

David W. Hodgins

unread,
Jul 29, 2006, 7:20:55 PM7/29/06
to
On Sat, 29 Jul 2006 14:09:23 -0400, Pete <pe...@notreally.co.uk> wrote:

> Can someone save what's left of my hair and tell how to find where I
> downloaded it to??

In addition to the other responses regarding the use of find, and locate,
one possiblity, is that you downloaded it to a subdirectory of /mnt,
while that subdirectory was not in use as a mount point. If you did
this, and then mounted a filesystem on that directory/mount point, then
the file will not be visible, until you umount the filesystem. The
actual iso file would be in the root filesystem, not the filesystem
you normally mount on that directory.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)

0 new messages