LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-24-2023, 09:45 AM   #1
Penstroke4
Member
 
Registered: Apr 2022
Posts: 36

Rep: Reputation: 0
Unhappy After renaming files, now is missing


Hi!Can someone help me? I have spent considerable time to rename each file to add series of numbers to each file while retaining its title. I have almost completed doing so.But when I check back - all those files are now missing and cannot be found in the folder itself. I have checked the "trash" but still there is no-sign of those missing files. I am most certain I did not delete them while doing renaming.
I am using Fedora 37 and used Dolphin file manager to do the renaming. What has happened. Kindly advised.Thanks
 
Old 03-24-2023, 10:43 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
You didn't add a dot to the beginning of the filenames, did you? That would turn them into hidden files. There's also a possibility, if you did the work within a graphical file manager, that you were actually moving them elsewhere during the renaming process.

If I were you, I would open a terminal and use
Code:
ls -a
first on your home directory/folder and then on any subdirectories that you can see.
 
Old 03-24-2023, 10:50 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
would be nice to know exactly what did you execute. And probably you can add some other details too.
 
Old 03-24-2023, 10:55 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Can you post an example of how you renamed the file?

You can try searching from the command line assuming the files are still somewhere in your home directory and that you remember part of the name.

find ~/ -name "*search_criteria*"
 
Old 03-24-2023, 10:57 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
I think it's actually quite difficult to describe what you did when you were using a graphical file manager to do it. You can't just post up a command and say "This is what I entered."
 
Old 03-24-2023, 06:51 PM   #6
Penstroke4
Member
 
Registered: Apr 2022
Posts: 36

Original Poster
Rep: Reputation: 0
After renaming files- now is missing.

Quote:
Originally Posted by michaelk View Post
Can you post an example of how you renamed the file?

You can try searching from the command line assuming the files are still somewhere in your home directory and that you remember part of the name.

find ~/ -name "*search_criteria*"
***sorry for the omission, This is what I did:-
Example: original title of file "The book is green"
-1] renaming by adding serial number to title [1.233.3]The book is green then press [enter].
now file is missing. I was unaware that it was missing as I assume that it was going to position in a sequential manner.
Please help me to recover those files. Thanks
 
Old 03-24-2023, 07:11 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Adding [1.233.3] should not of caused the files to go missing. As posted earlier if your files are in your home directory somewhere you can try using the find command from a terminal window as posted above.

find ~/ -name "[*"
 
2 members found this post helpful.
Old 03-25-2023, 04:41 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
probably it is not missing just you need to refresh your window to make it visible again.
 
1 members found this post helpful.
Old 03-26-2023, 10:03 PM   #9
Penstroke4
Member
 
Registered: Apr 2022
Posts: 36

Original Poster
Rep: Reputation: 0
solved

Quote:
Originally Posted by pan64 View Post
probably it is not missing just you need to refresh your window to make it visible again.
After much unsuccessful attempts to recover those files, the affected folders is still blank despite rebooting my pc.Then I tried switching to Windows 10 explorer and the error mssg is "The disk is corrupted and not readable"
After trying a number of Windows undelete programs which were unsuccessful, I managed to recover those files using Easeus Data recovery wizard. I suspect the fault is with HDD.Thanks to all who helped.
 
Old 03-26-2023, 10:39 PM   #10
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
You can verify if the fault is with the HDD using the smartmontools package with smartctl to check the health of the drive. It'll be in your distro's repository.
 
1 members found this post helpful.
Old 03-26-2023, 10:49 PM   #11
artytux
Member
 
Registered: Oct 2022
Location: Central Eastcoast Australia
Distribution: EndeavourOS, MXLinux
Posts: 114

Rep: Reputation: 40
Quote:
@Penstroke4
Then I tried switching to Windows 10 explorer and the error mssg is "The disk is corrupted and not readable"
I have had that error from Win$ having problems with Ext4 format , best ignore don't try to repair a Linux Ext4 within Win$.

On the Q_ of lost files you didn't by accident put a dot . in front of the name - easily done - distraction - press enter - boom files gone, yes did that myself.
 
Old 03-27-2023, 12:41 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
I guess you should also get these [or similar] error messages on linux if that hdd is really damaged.
Anyway, if it is solved you might want to mark the thread solved.
 
Old 03-28-2023, 05:57 AM   #13
Penstroke4
Member
 
Registered: Apr 2022
Posts: 36

Original Poster
Rep: Reputation: 0
solved

Quote:
Originally Posted by artytux View Post
I have had that error from Win$ having problems with Ext4 format , best ignore don't try to repair a Linux Ext4 within Win$.

On the Q_ of lost files you didn't by accident put a dot . in front of the name - easily done - distraction - press enter - boom files gone, yes did that myself.
<<< No i didnt put a dot in the front title and it was as many as 104 title that I renamed. I believed it has to do with Disk2(hdd-formatted to ntfs) a nearly 7year old 150Gb ide hdd.
 
  


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
Renaming files as they are uploaded Cr4wford Linux - Software 1 04-26-2004 03:41 PM
Solution: renaming multiple files with spaces HawkeyeCoug Linux - Newbie 0 03-26-2004 10:57 AM
Renaming files doesn't work from console Mr. Gone Linux - Software 9 03-20-2004 07:59 PM
Renaming files in one go saurya_s Linux - Software 1 01-12-2004 01:16 PM
Renaming files in Midnight Commander Josnap Linux - Software 2 09-02-2003 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:16 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