2

I have downloaded a video file from youtube via command line (youtube-dl) but couln't find it and when I again tried to download the same file the terminal says the file is already downloaded but after rigorous searching of the file in every folder I was unsuccessful.I have only one partition. My O.S is Ubuntu13.10.

Oli
  • 299,380

4 Answers4

2

By default the videos should be downloaded into the current working directory.

If you're not sure where you are, just run nautilus . from the command line where you are and that should open up a file browser. Or you can run pwd to get the path.

There's quite a good recent answer pointing out how to change the default location for youtube-dl which might help you in the future.

Oli
  • 299,380
1

You could use the find command to search for it, if you'd like.

find ~/ -type f -iname 'somename'

Search for all files (-type f) in the ~/ (home) directory with name (case insensitive) somename. You can also use -iname '*.flv' if you know what the file extension is (in this case, .flv).

0

From the instruction:

Example: youtube-dl "http://www.youtube.com/watch?v=foobar". The video will be saved
to the file foobar.flv in that example. As YouTube.com videos are usually in Flash 
Video format, their extension should be flv.

The name depends from your link, the path should be the current (pwd show whichis)

Hastur
  • 4,160
  • 2
  • 32
  • 42
-1

check in your home directory for the downloaded file