How to reverse a desktop clear in Terminal

Hi Everybody
This is Dave writing from Italy
Yesterday,trying to delete an undeletable file from the trash, i ran over a terminal forum
e copied  rm -rf * then clicked RETURN
and cleared up all my files on the desktop (60GB MUSIC AND OTHERS)
Since my job is to be a musician, it's a real disaster,if you please can help me out.
Things to know: - the only deleted folders were DESKTOP AND DOWNLOAD
-all my files in documents and applications are still there.
-Tried to do ,as i read on a Linc Davis              review forum :
You moved everything from the Desktop folder into a folder named ".ec2" at the root level of your home folder. Because its name starts with a period, that folder is invisible in the Finder. To reverse this action, copy or drag -- do not type -- the following command into a Terminal window, then press return:       mv ~/.ec2/* ~/Desktop/
but this is the message i get : No such file or directory  adsl-ull-254-242:- mm$
- I didnt type any folder name while processing rm-rf * on terminal.
-I'm running mavericks in a Imac 21.5" Vers.10.9.3    Processor 3.06GHz IntelCore3 /  Memory 4GB 1333MHz  DDR3
if anyone can be of help,i'd need my desktop back aiting for your reply i thank you indeed
D.

The difference between what happened to you and to the user in the post you are referring to is:
In the other users case his desktop was empty because he moved all the files in it to another folder, the one named .ec2. As the files were moved there (not removed) they could be moved back.
In your case you did not move the files you deleted them. A very different situation.
As the others have written the only absolute way back is with backups. If you have not used the system much since this happened it might be possible to recover some of the files. There are some consumer programs that might recover the files if not then you would need to contact a commercial data restorer. But again there is no magic here, if the system has been used since the files were removed they are gone.
Try a web search for data recovery mac
regards

Similar Messages

  • Reg: how to reverse the partial cleared items

    Hi Gurus
    1) how to reverse the partial cleared items
    and
    user posted wrogly below:
    2) actually amount received against invoice but she posted in f-02 insted of f-28 so how to reverse this

    Hi,
    I think you should do the following:
    1. T.code - FBRA - to reset the cleared document.
    2. T.code - FB08 - to do the reversal after resetting.
    See if it helps.
    Regards,
    SGP

  • How to reverse cross company cleared document?

    Dear all,
    Can anybody guide me how to reverse a cross company cleared document?
    Earliest revert would be grateful.
    Regards,
    Sudish

    Hi,
    Go to the line items of the document 1000000502 and find out the clearing document number. Then reset the clearing in that clearing document number first and then reverse the document 1000000502 in FBU8
    In case document 1000000502 does not have any cleared line item, then you can directly reverse it in FBU8 transaction.
    Regards,
    Gaurav

  • How to reverse hide desktop icons.scpt

    this is a script i downloaded from some website i cannot find now, to hide the desktop icons... i did so successful when i clicked play.
    now i kinda want it the old way where the desktop icons are displayed on the desktop! i remember reading that i can change some element of the below script to display the desktop icons again, but forgot what it is...
    another one can help? please? thanks a lot..
    try
    set CurSet to do shell script "defaults read com.apple.finder CreateDesktop"
    on error
    set CurSet to "1"
    end try
    if CurSet is "1" then
    set NewSet to false
    else
    set NewSet to true
    end if
    do shell script "defaults write com.apple.finder CreateDesktop -bool " & NewSet
    tell application "Finder"
    quit
    try
    activate
    end try
    end tell
    i tried changing 1 to 0 and running the script but it didnt work.
    hope i didnt damage my os x or sth....

    Jeffrey,
    The script worked as a toggle for me. When I ran it the first time my desktop icons hid; I ran it a second time and the icons were back. No need to change any values.
    Try pasting the same script into your Script Editor and hit the Run button. Look for the icons to reappear. If you decide to save the script as an application you should, for obvious reasons, save it to somewhere other than your desktop. You can place it in your dock afterward and run it from there, e.g.
    See if that works... Good luck!
    Andrew99

  • I used a terminal command to show the Library in the User folder, and now the Finder is behaving erractically.  Can anyone tell me how to reverse the show library terminal command?

    I used a terminal command in Lion to show the LIbrary in the Users folder, and now the Finder is behaving erratically, hanging up and becoming almost paralyzed.  Can anyone tell me how to reverse the terminal command for show Library.  The command I used was:
    chflags nohidden ~/Library/

    Showing the Library folder will not cause the problem you've described. Nevertheless:
    chflags hidden ~/Library
    will hide the folder. To reveal the folder:
    chflags nohidden ~/Library
    Note, there is no "/" after Library.

  • Document 60000030482 cannot be reversed due to clearing reset

    Hello Freinds,
    Has anybody faced this error during FP09. Document 60000030482 cannot be reversed due to clearing reset
    There are some documents which are stuck in clarification list. Please can anyone help me to rectify this error.
    Regards,
    Charvi

    Hello Christiane
    Thanks a lot  for your reply. yes even i read that error log. It says
    "Instead of posting a reversal of the reversal, you have to recreate theoriginal clearing, that is, post a new equivalent for the original
    clearing document."
    Does this mean that i need to post a new payment document or try to
    adjust with the old document.But if i have to do how will i be ableto
    achieve this as the old document is alrady reset and a new document has
    been posted which is not a payment document.
    This error we have faced for the first time. Please guide us how to
    achieve this so that in future we can handle these cases.
    Regards,
    Charvi

  • How to reverse Document generated by Interest Calculation programme.

    Hi Gurus,
    Any idea  how to reverse the document posted by the batch session generated through Interest calculation programme other than manual journal?
    Moreover If I am running interest calculation for 10 different GL accounts which post to one Clearing B/L sheeet account, how to recognise which posting belongs to which account?
    Thanks,
    Pritam

    Hello,
    What's your SAP version? I can see it on FINTSHOW transaction. You can select running node and press reverse posting.
    This button before the Reprinting button on ALV sreen. Reverse posting's shortcut is CTRL+F12
    Regards,
    Burak

  • How to get into desktop screen at once when client come into RDP session?

    How to get into desktop screen at once when client come into RDP session?
    When users login into terminal server I would like they see own desktop and open web page of corp portal.
    How to do that?

    Hi
    Hope below links will help
    http://blog.cloud-client.info/2012/10/03/tip-configure-a-keyboard-shortcut-to-minimize-fullscreen-citrix-or-microsoft-rds-sessions-for-a-linux-based-igel-os/
    Also there are some Remote Desktop Services shortcut keys
    http://msdn.microsoft.com/en-us/library/aa383500%28v=vs.85%29.aspx
    Regards,
    Rajesh J S

  • How to reverse a manual Journal Entry Voucher created via Custom BO

    Hi All,
    I have created a custom BO for triggering a Journal Entry Voucher for each and every Customer Invoice created in the system.Normally all Customer Invoice will be having a corresponding Journal Entry document ,apart from the default JE document I have created an additional Journal Entry for each CI through a Custom BO because of the Business requirement.I am using the default JE as the source document for the newly created JE for the same CI.
    If a custom invoice gets cancelled only the default JE will get reversed.How to reverse the newly created JE too.I there a way to carry out this reversal process through PDI using ABSL.
    Please find below the code for details.
    Custom BO contains these lines.
    import ABSL;
    import AP.FinancialAccounting.Global;
    import AP.CustomerInvoicing.Global;
    var query;
    var selparam;
    var resultset;
    var query1;
    var selparam1;
    var resultset1;
    var query2;
    var selparam2;
    var resultset2;
    query = AccountingDocument.QueryByElements;
    selparam = query.CreateSelectionParams();
    selparam.Add(query.UUID.content, "I", "EQ", this.ZJEUUID.content);
    resultset = query.Execute(selparam).GetFirst();
    selparam.Clear();
    if (resultset.IsSet())
        var CI_ID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
        if (!CI_ID.IsInitial())
            query1 = CustomerInvoice.QueryByElements;
            selparam1 = query1.CreateSelectionParams();
            selparam1.Add(query1.ID.content, "I", "EQ", CI_ID);
            resultset1 = query1.Execute(selparam1).GetFirst();
            selparam1.Clear();
        if (resultset1.IsSet())
            foreach (var itemIns in resultset1.Item)
                var qty = itemIns.Quantity.content;
                var pid = itemIns.ItemProduct.ProductKey.ProductID.content;
                query2 = ZProductTax.QueryByElements;
                selparam2 = query2.CreateSelectionParams();
                selparam2.Add(query2.ZprdID.content, "I", "EQ", pid);
                resultset2 = query2.Execute(selparam2).GetFirst();
                selparam2.Clear();
                if(resultset2.IsSet())
                this.ZEnvTax.content = this.ZEnvTax.content + (qty * resultset2.ZtaxPrice.content);
                this.ZEnvTax.currencyCode = resultset2.ZtaxPrice.currencyCode;
                this.InvID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
    //Manual creating of Journal Voucher //
    var newJV = AccountingEntry.Create();
    newJV.CompanyID = resultset.Company.ID;
    newJV.Note.content = resultset.Note.content;
    newJV.AccountingDocumentTypeCode = "00047";
    newJV.BusinessTransactionTypeCode = "601";
    newJV.TransactionCurrencyCode = resultset.Item.GetFirst().BusinessTransactionCurrencyAmount.currencyCode;
    newJV.AccountingClosingStepCode = resultset.AccountingClosingStepCode;
    newJV.ZcustomerID.content = resultset1.BuyerParty.PartyKey.PartyID.content;
    newJV.PostingDate = resultset.PostingDate;
    var sob = newJV.SetOfBooks.Create();
    sob.SetOfBooksID.content = resultset.SetOfBooksID.content;
    //Making the Credit account of Original JE as Debit account in this JV//
    var debitAccIns = resultset.Item.Where(c => c.DebitCreditCode == "2").GetFirst();
    var debitAcc = debitAccIns.ChartOfAccountsItemCode;
    var newJVGL = newJV.Item.Create();
    newJVGL.DebitCreditCode = "1";
    newJVGL.ChartOfAccountsItemCode.content = debitAcc.content;
    newJVGL.TransactionCurrencyAmount.content = this.ZEnvTax.content;
    newJVGL.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
    // Posting the debited account to a new GL account//
    var newJVGL1 = newJV.Item.Create();
    newJVGL1.DebitCreditCode = "2";      
    newJVGL1.ChartOfAccountsItemCode.content = "101000";
    newJVGL1.TransactionCurrencyAmount.content = this.ZEnvTax.content;
    newJVGL1.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
    Please respond ASAP
    Regards,
    Navin Kandasamy

    Hello Navin,
    There is an action "Cancel" in the Accounting Entry BO. Try calling that action from ABSL whenever the CI is canceled. But to do that you should have the reference of the created JEV through code.
    Hope this helps.
    Thanks & Regards,
    Meghna

  • How to reverse F110 Posting for Payment Method Book Transfer.

    Hi Gurus
    I have done one payment run in F110 today. Everything is ok, except that since in my payment method the Bank details was unchecked in REGUH table the "payee account number" did not get captured.
    The impact of this is in our payment file which goes to our bank the payees account details is not there becuse the value is not there in REGUH table.
    So we have corrected this issue through config.
    But now we want to reverse the F110 payment run and re-run F110 so that we can capture the "payee account no" in our payment file which goes to the back
    Note our payment method used is Book transfer.
    Can you please let me know how to reverse this F110 payment run.
    Rgds
    Prasad

    Hi Gurus,
    I got one tcode FCHD where you can reverse. If you see the F1 in the payment method it says it can be used for Check/ Bill of Exchange / Bank Transfer. But somehow this doesn't work for Bank transfer. It gives the following error.
    "No check information found
    Message no. FIBL573"
    Can someone tell me why this Tcode doesn't work for Book transfer when in the payment method selection in FCHD its clearly mentioned that it supports Bank Transfer.
    Rgds
    Prasad.

  • The Remote Desktop Management service terminated with the following service-specific error %%4294967295

    Got this error after a reboot for the monthly MS hotfixes. After messing around too much, I finally found the problem and though that I would document it here since I have not found the solution anywhere I looked.
    This is in a Remote Desktop setup of two RDCB using a SQL DB that is hosted on a third server. The Remote Desktop Management service would fail to start with the "The Remote Desktop Management service terminated with the following service-specific
    error: %%4294967295" error because the SQL Server service hosting the database was offline. It had not automatically restarted after the same hotfixes. So I started the SQL server, then was able to get Remote Desktop Management to start on my RDCB without
    any delay.
    Philippe Carignan

    Hi Philippe,
    How is everything going on?
    Please check below thread for information.
    Remote Desktop Management Service, Service-specific
    error %%2284126209
    Hope it helps!
    Thanks,
    Dharmesh

  • How do I change Desktop folder properties?

    I recently purchased a macbook pro. I used migration assistant to transfer all files, from my g4, via firewire. Now, when I attempt to download from the internet, I get this error message: "Downloading/users/myname/Desktop/filename could not be saved, because you cannot change the contents of that folder. Change the folder properties and try again, or try saving in a different location". How do I change desktop folder properties?
    mac book pro Mac OS X (10.4.7)

    Control-click or right-click anywhere on your desktop picture, and select Get Info from the contextual menu. Then expand the Ownership & Permissions section. You need to set the drop-down menus like this:
    You can: Read and Write
    Owner: <your username>
    Access: Read & Write
    Group: Staff
    Access: No Access
    Others: No Access
    If that doesn't work, log in as an administrator, open Terminal, and enter these commands (assuming your username is "bigalive"; change appropriately:
    sudo chown bigalive:staff /Users/bigalive/Desktop
    sudo chmod 700 /Users/bigalive/Desktop
    That should fix it.

  • How to Reverse F.2B posting

    Hi,
    Can you let me know how can we reverse the documents posted via F.2B transaction.
    We executed the F.2B and interest document has been posted(Customer account & Interest a/c) and we reversed the interest document with FB08.
    Now when we try to execute F.2B again the system is not calculating the interest.
    Do suggest.
    Regards,

    Hi,
    Thanks for your mail. The note mentioned by you is relevant to excluding the cleared document.
    Coming to your other point the Customers Items are still Open (after e ran the Interest Calculation- as int document has reversed). Our issue is, the first time when we ran F.2B, the interest amount posted to all customers including dispute invoice(for which interest must not be calculated - marked as interest block) as we missed out select the Interest Block Indicator in Dynamic section of F.2B.
    Now we are not sure how to reverse the document posted via F.2B.
    We are not able to delete it with FINTSHOW  transaction, as the t.code doesnt has data.
    We have performed FB08 for the interest document (also removed the Interest run date from customer master)and when we try to execute F.2B again, the system is not posting the interest document.
    Do suggest, how to post the Interest.
    Regards,

  • How to change your desktop password on a mac when you forget your old password

    how to change your desktop password on a mac when you forget your old password

    Forgot Your Account Password
    For Lion, Mountain Lion, or Mavericks
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password, OS X Mountain Lion- Reset a login password,
         and OS X Lion- Apple ID can be used to reset your user account password.
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself

  • How do I retrieve my cleared safari history on iphone?

    How do I retrieve my cleared safari history on iphone? I accidentally clicked clear cookies and data as well, so everything is basically gone and there are very important stuff that I NEED to recover. I tried to do the settings>safari>adavanced>website data, but nothing worked, because since I cleared cookies as well, everything's just gone.

    You restore the phone using a backup made before you cleared it. If you don't have a backup from when it was present, then it's gone.

Maybe you are looking for

  • Using external reference png files

    Hello everyone! I've been requested to create a flash project in which all images are external references. Images (mostly png) are created and can be modified anytime by artists, fla files and actionscript are created by developers. When opening a fl

  • Can one share JPEG files using the Creative Cloud for example similar to Dropbox and Flickr

    Can one use the Creative Cloud facility to share JPEG files similar to Dropbox and Flickr

  • Already bound: 8080

    Hi, I am new to JBI and tried a composite application after going through sample codes. I created 4 independent projects: 2 web applications (web services), 1 BPEL module and 1 composite application. Both web services expose some web methods. I have

  • Preparing for next version of OIM

    Hi, We're installing OIM on JBoss application server, and since a new version is coming that will support JBoss 4.2.3GA and JDK 1.6 (and since an upgrade path is announced), we recently tried to install OIM 9.1.0 on those versions of JBoss and Java.

  • X-Moto 0.2.1-1 don't work

    The new version of x-moto don't work. I execute: $ xmoto but, don't work the game. In the xmoto.log from .xmoto dir views: Initializing binary data package... ** Warning ** : failed to load or parse user configuration 'config.dat' I'm not sure if thi