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.

1
  • 1
    on the same terminal run pwd command.The output shows some directory path. Your youtube file would be downloaded on that directory itself. May 20, 2014 at 11:49

4 Answers 4

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.

1
  • And don't forget the . after nautilus in nautilus . otherwise it will open up your home folder.
    – Parto
    May 20, 2014 at 11:55
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).

2
  • Nope. couldn't find it.
    – user279506
    May 20, 2014 at 12:37
  • Assuming your find statement was correct, that actually means the video doesn't exist anywhere in your home directory. May 20, 2014 at 14:08
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)

-1

check in your home directory for the downloaded file

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .