sudo tmutil listlocalsnapshots /

would list the APFS snapshots created by Time Machine. (not sure it would list 
others, nor what distinguished those; naming convention, probably)

There was another program in the beta, gone in the regular release of High 
Sierra, called apfs_snapshot; but one can find it with some googling.  It could 
list, create, delete, rename APFS snapshots.

> On Aug 20, 2018, at 11:03, Lee Bast <[email protected]> wrote:
> 
>> On Aug 20, 2018, at 1045 , William Parducci <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I am guessing by the urgency of your request you do not have a backup. If 
>> that is the case you are going to need to find a utility that will locate 
>> unlinked files to “undelete” them since command line deletes have no concept 
>> of Trash.
> 
>       Worth noting as well since he's running High Sierra that Time Machine 
> does have a concept of local snapshots, even if no backup drive is attached 
> (though it may have to be on first, I don't use TM myself since I prefer to 
> use ZFS and rsync). If it's been less then 24 hours and is APFS formatted I'd 
> suggest immediately entering TM and see what backups might be available if 
> any. Worth a shot.
>       After that agreed, time to look at undelete options. Also immediately 
> stop using your system, boot off another drive to work on it, because once 
> stuff starts getting overwritten it's definitely gone (though I've never 
> tried recovering from an APFS drive anyway).
>       And yeah, this comes up over and over forever but you need to run 
> backups of some sort.
> 
>> For future reference NEVER issue sudo rm -rf in a multiline command. It is 
>> just asking for stuff like this to happen.
>       The guide (and a lot of MacPorts in general I guess) is more aimed at 
> devs and power users so it kind of assumes everyone is comfortable with the 
> CLI and knows basic footguns, but looking at that page it might be a 
> reasonable idea to not just tell people to run a copy-pasted multiline sudo 
> rm -rf command. It's a dangerous enough thing and it's a low bar to not say 
> "copy and run this" and change it to "here are a list of MacPorts' file and 
> directory locations, delete them for a full manual removal", then leave it to 
> users.
> 
>> 
>> I have not used any of these but here are some places to start:
>> 
>> https://www.cleverfiles.com/undelete-mac.html?gclid=EAIaIQobChMItpOT9-373AIVEdbACh1umQgFEAAYASAAEgJ1y_D_BwE
>>  
>> <https://www.cleverfiles.com/undelete-mac.html?gclid=EAIaIQobChMItpOT9-373AIVEdbACh1umQgFEAAYASAAEgJ1y_D_BwE>
>> https://www.ibeesoft.com/data-recovery-software/mac-data-recovery.html 
>> <https://www.ibeesoft.com/data-recovery-software/mac-data-recovery.html>
>> 
>> 
>> b
>> 
>>> On Aug 20, 2018, at 7:36 AM, LEYSAN GALIULLINA via macports-users 
>>> <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> HELLO! i need y'all help so much!
>>> I have macOS High Sierra 10.13.6
>>> X Code  9.4.1
>>>  What i did is "2.4. Uninstall" following commands : 
>>> https://guide.macports.org/chunked/installing.macports.uninstalling.html 
>>> <https://guide.macports.org/chunked/installing.macports.uninstalling.html>
>>> I did Commands which starts as:
>>> $ sudo rm -rf \
>>> /opt/local \
>>> etc.
>>> The problem is- i lost everything i had on my desktop, which i made and 
>>> collect for years. It is real important files to me, i am DJ and now i  
>>> have nothing  to work with. Please help to fix my terrible mistake and get 
>>> back everything i had (tones of music, pictures, documents,videos..etc) 
>>> please! I hope it is possible! Please, say we can do it.
>>> Kind regards,
>>> Sunley
>>> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to