'login: illegal option -- S' message pops up whenever i open photorec.

Using TestDisk to undelete files
Post Reply
Message
Author
charlizzle
Posts: 1
Joined: 16 Sep 2017, 22:09

'login: illegal option -- S' message pops up whenever i open photorec.

#1 Post by charlizzle » 16 Sep 2017, 22:25

Hi,

so today I accidentally formatted the SD Card on my phone, so now I have lost about 5GB worth of pictures. I have spent the entire evening trying to recover it, however nothing seems to work. I have come to the conclusion that TestDisk/PhotoRec the best solution is and it is free. Whenever I try to open it instead of going to the window where one would usually have to log in or decide what they want to recover this message always pops up:

" login: illegal option -- S
usage: login [-pq] [-h hostname] [username]
login -f [-lpq] [-h hostname] [username [prog [arg ...]]]

[Process completed] "

I am not sure what to, I have looked everywhere but I have not yet come across a someone else that has struggled with the same problem. I have attached a picture of it as well, whenever I try to open TextDisk the same message appears. Fyi I have a MacBook Pro and I cannot edit the text there.

I really hope that someone could maybe help on what to do and how I could recover it, because honestly want/need those pictures back as soon as possible and I don't want to spend a fortune on some other program either that will probably not do the job as well anyways.

Hope that someone can help me somehow... Thanks in advance. :)
Attachments
Screen Shot 2017-09-16 at 23.16.50.png
Screen Shot 2017-09-16 at 23.16.50.png (46.37 KiB) Viewed 29 times

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3615
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: 'login: illegal option -- S' message pops up whenever i open photorec.

#2 Post by cgrenier » 17 Sep 2017, 07:27

Can you start a Terminal, use "cd directory_name" to go in testdisk-7.1-WIP directory and start "./photorec" ? The commands are case sensitive.
To know the current directory, use "pwd" (print working directory) and "ls" to list the files in the current directory.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest