LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-12-2023, 11:21 AM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Rep: Reputation: 68
Howto find a youtube-dl file in Fedora-32


I cannot find a youtube-dl once it is downloaded.
This a file that has a large number of easy-listening music to it, and now that it is downloaded I cannot find it on my Fedora-32 computer, WHERE-IS-IT ?


[mickey@localhost ~]$ youtube-dl https://www.youtube.com/watch?v=yufPWDBQ7l8
[youtube] yufPWDBQ7l8: Downloading webpage
[download] Destination: Самая красивая мелодия в мире! Эту музыку можно слушать вечно!Отличная музыка Сергей Грищук #29-yufPWDBQ7l8.mp4
[download] 100% of 2.95GiB in 10:09:45
 
Old 01-12-2023, 12:04 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,519

Rep: Reputation: Disabled
Search for all .mp4 files, if it isn't in your Downloads or Home directories.

Something like this -
Code:
find /home/* -name "*.mp4" > mp4files
Else you could try quoting the actual filename.
 
Old 01-12-2023, 02:02 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
[mickey@localhost ~]$ find /home/* -name "*.mp4" > mp4files
find: ‘/home/james’: Permission denied
find: ‘/home/jim’: Permission denied
find: ‘/home/lost+found’: Permission denied
^C
[mickey@localhost ~]$ su
Password:
[root@localhost mickey]# find /home/* -name "*.mp4" > mp4files
[root@localhost mickey]# find /home/* -name "*.mp4" > mp4files

It can't find anything
 
Old 01-12-2023, 02:11 PM   #4
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
My home directory is /mickey.
 
Old 01-12-2023, 05:14 PM   #5
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,627

Rep: Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556

You haven't overridden any download/filesystem options and the download was successful, thus it is in the directory you were in when you ran the youtube-dl command, i.e: ~ , your home directory, and running "ls -l ~/*yufPWDBQ7l8.mp4" will list the file.

What you may notice from that is, by default, youtube-dl sets modified time to that the video's last modified time, hence if you sort by date it may not be the most recent file. There is a "--no-mtime" option to prevent that.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Cast YouTube Videos From Your Phone To Raspberry Pi Using YouTube On TV (youtube.com/tv) LXer Syndicated Linux News 0 04-16-2021 01:30 AM
LXer: youtube-dl – download Youtube videos from linux command Line LXer Syndicated Linux News 0 06-24-2014 12:11 PM
LXer: Youtube Downloader (youtube-dl) Helper Script LXer Syndicated Linux News 0 09-28-2013 01:50 PM
LXer: Search YouTube videos on Ubuntu with the YouTube Lens LXer Syndicated Linux News 0 12-30-2011 08:40 PM
LXer: Youtube-dl - Download videos from Youtube in openSUSE LXer Syndicated Linux News 1 08-14-2008 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration