Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-24-2023, 09:45 AM
|
#1
|
Member
Registered: Apr 2022
Posts: 62
Rep:
|
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
|
|
|
03-24-2023, 10:43 AM
|
#2
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,253
|
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 first on your home directory/folder and then on any subdirectories that you can see.
|
|
|
03-24-2023, 10:50 AM
|
#3
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,208
|
would be nice to know exactly what did you execute. And probably you can add some other details too.
|
|
|
03-24-2023, 10:55 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,736
|
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*"
|
|
|
03-24-2023, 10:57 AM
|
#5
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,253
|
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."
|
|
|
03-24-2023, 06:51 PM
|
#6
|
Member
Registered: Apr 2022
Posts: 62
Original Poster
Rep:
|
After renaming files- now is missing.
Quote:
Originally Posted by michaelk
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
|
|
|
03-24-2023, 07:11 PM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,736
|
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.
|
03-25-2023, 04:41 AM
|
#8
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,208
|
probably it is not missing just you need to refresh your window to make it visible again.
|
|
1 members found this post helpful.
|
03-26-2023, 10:03 PM
|
#9
|
Member
Registered: Apr 2022
Posts: 62
Original Poster
Rep:
|
solved
Quote:
Originally Posted by pan64
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.
|
|
|
03-26-2023, 10:39 PM
|
#10
|
LQ Guru
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,740
|
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.
|
03-26-2023, 10:49 PM
|
#11
|
Member
Registered: Oct 2022
Location: Central Eastcoast Australia
Distribution: EndeavourOS, MXLinux
Posts: 114
Rep:
|
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.
|
|
|
03-27-2023, 12:41 AM
|
#12
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,208
|
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.
|
|
|
03-28-2023, 05:57 AM
|
#13
|
Member
Registered: Apr 2022
Posts: 62
Original Poster
Rep:
|
solved
Quote:
Originally Posted by artytux
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.
|
|
|
All times are GMT -5. The time now is 06:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|