Help, i made a terminal command and i don't know how to undo it.

i found my long lost folder of terminal commands.. and i forgot what this one did, so i clicked it (i made the commands into a "unix executable file").. and all my files on my desktop are now hidden.. the only way to find them is to type in the file name into finder.
the command i typed in was
while (true) do
chflags hidden ~/Desktop/*
done
and now everything on my desktop is gone, and i dont know how to undo it, I undid once about 3 months ago when i wrote it, but i forgot what i did. I tried counterering the command with others but it isn't doing anything. thank you
edit: i know this command cant destroy my system because it wasn't a sudo, but still, i had all my class work on my laptop and now it's all invisible

Hi, try this...
while (true) do
chflags nohidden ~/Desktop/*
done

Similar Messages

  • I I disabled my add-ons and I don't know how to undo it. I think I did it permanently. Is there any way to undo it? Help!

    I wen tot go into safe mode and disable add-ons, and instead of when the dialog box came I pressed save and continue after selecting disable add-ons button. I believe that's permanent, but can I undo this? Because now I have no Adobe Flash Player. Please help!

    If you didn't see it on the list, it's gone. You can download it again from here:
    http://get.adobe.com/flashplayer/

  • Why does my Imac screen slide and I lose my screen?  It goes back to my desktop.  Then sometimes my screen goes to full screen and I don't know how to get out of it.

    Why does my Imac screen slide and I lose my screen ~ It goes back to my desktop.
    Then sometimes my screen goes to full screen without me doing any commands, and I don't know how to get out of it without going to force quit and starting all over. 

    Hi,
    When it goes full screen try moving the mouse up to top right of scren & see if there a double diagonal Arrow to click on.
    On the other see if it's the silly implentation of Spaces/Mission Control/Expose in ML...
    https://discussions.apple.com/thread/4298411?start=0&tstart=0

  • I have a MacBook Pro, I want to copy Itunes files to an SD card to play in my car, the SD Card doesn't appear in Itunes when I insert it, and I don't know how to convert the files to the correct format, can anyone help?

    I have a MacBook Pro, I want to copy Itunes files to an SD card to play in my car, the SD Card doesn't appear in Itunes when I insert it, and I don't know how to convert the files to the correct format, can anyone help?
    Thank you

    So it seems from reading the COMMAND manual that my first issue is that I used a 16GB SD card, and the manual says it will only recogize up to a 2GB SD card. I did use my MB Air's SD card slot and crated a folder and dragged the music files to it, then to the card. So I am going to get a 2GB card and try that next. Otherwise just stick with the iPOD connected. At least that is 8GB

  • I recently had to install a new hard drive in my computer. This caused me to have to reload all content back to my iTunes and iPod. I have many apps on my iPod and i don't know how to transfer those back to my iTunes. Can anyone help?

    I recently had to install a new hard drive in my computer. This caused me to have to reload all content back to my iTunes and iPod. I have many apps on my iPod and i don't know how to transfer those back to my iTunes. Can anyone help?

    Right clicking on your ipod in the device list an d choosing "transfer purchases" will copy apps and bought media from iTunes to your computer. Due to the new iTunes library on your new HD, iTunes will erase your ipod during the first sync. To save your data to the computer take a look at this article about saving data from your device to a computer: http://support.apple.com/kb/HT4137
    Basically it's backing up manually, transferring her purchases (apps and bought music), letting iTunes erase the ipod due to the new iTunes library, and restoring from the manual backup again, to get all the data and settings back.
    Make sure your new computer account is authorized in iTunes. Disable autosync in itunes, connect your ipod, right click on it in the device list and choose backup.
    This will save data, pictures and settings to itunes. See what's included in this backup here: http://support.apple.com/kb/HT1766
    Transfer your purchases the same way to copy all apps and bought media from the Store to your computer.
    Set up at least one contact and event on your computer to be able the merge your calendars and contacts after your ipod got wiped during the first sync.
    The rest of the data can be restored from the backup you made.
    Restoring: http://support.apple.com/kb/HT1414
    Music is one way only, from the computer to your device, unless you bought the songs in itunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread: http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0

  • Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how

    Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how to resolve it. This is my problem: 
    Have downloaded for example: Queen – Bohemium Rhapsody from a compilation album as well as a few complete Queen Album CDs into the iTunes library and then put them into playlists,
    When I go onto my phone and select Queen on the MUSIC app using Songs tab at the bottom of the screen it will display all Queen songs and their resective Alum pics, that is all those not in a complilation album, .
    If I know the song title I can select the songs tab and find the song that way,
    I’ve tried fiddling with the settings in the iTunes app by going to ‘get info’ tab and trying to sort the problem out that way but am not having much luck.What I want the phone to do is show, for example all Queens songs including those in compilation albums. Can this be done, would be grateful for any ideas on how it can be done, that is if ic can be done, any ideas
    Thanks for your help

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • I tunes has stopped working in windows 7 and I don't know how to get the crash information that everyone else seems to get to know what the cause is....any help?  I have a toshiba windows 7 computer.

    I have a toshiba computer and it is windows 7, recently after I installed imatch everytime I open itunes I get the message 'i tunes has stopped working' and windows cannot find a solution and has to close.  There is no solution and I don't know how to get the crash information on my computer....can anyone help as I want to finish downloading all my songs to match to be available on my mac products.

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • Nokia Lumia 928 apparently died after an attempted Windows 8.1 update.  Replacement phone arrived the next day.  How can I restore my contacts, photos, etc.?  Backup assistant is no help and I don't know how to access the Cloud.

    Nokia Lumia 928 apparently died after an attempted Windows 8.1 update.  Replacement phone arrived the next day.  How can I restore my contacts, photos, etc.?  Backup assistant is no help and I don't know how to access the Cloud.

    Did you have the phone set to backup things to the One Drive on Microsoft servers?

  • I used to have an icon on my menu bar at the top of my screen to help me detect displays (monitors)  It has disappeared and I don't know how to get it back.  Does anyone know?

    I used to have an icon on my menu bar at the top of my screen to help me detect displays (monitors)  It has disappeared and I don't know how to get it back.  Does anyone know?

    Your's may look more like this...
    ...if you're running Mountain Lion. I'm in clamshell mode right now, so I don't have any mirroring options. AFAIK, there's no more "Show displays in menu bar" in Mountain Lion.
    Clinton

  • I right clicked my iPod on iTunes and clicked restore from back up because i thought it would undo my IOS6 update. IT DELETED ALL MY PICTURES (2,000) AND I DON'T KNOW HOW TO GET THEM BACK!!!! Please help me!!!!!

    I right clicked my iPod on iTunes and clicked restore from back up because i thought it would undo my IOS6 update. IT DELETED ALL MY PICTURES (2,000) AND I DON'T KNOW HOW TO GET THEM BACK!!!! Please help me!!!!!

    Well, if you have not backed them up, they are gone.
    Next time, when you have important material in only one place, back it up.

  • In Iphoto i dragged a group of photos into a folder on the desktop, they went in as thumbnails and i don't know how i did that. can anyone help me do that again

    in Iphoto i dragged a group of photos into a folder on the desktop, they went in as thumbnails and i don't know how i did that. can anyone help me do that again

    Don't you mean Photos or are you still using iPhoto with 10.10.3?
    Normally one gets the preview version of a photo or the edited version if it's been edited when dragging from a thumbnail to the Desktop.  Don't know how you would have gotten small thumbnail versions.

  • Probably stupid question but I am new to Mac's.  Somehow my picture is at the right top of my out going emails and I don't know how to delete it.  Help!!

    Probably astupid question but I am new to Mac's.  Somehow my picture is gotten placed at the top right of all my out going mail and I don't know how to delete it.  Help!!

    This may help:
    http://www.maclife.com/article/how_can_i_remove_my_photo_from_messages_in_apple_ mail

  • My regular computer (which has i-tunes) is broken right now and I plugged my ipod into my temporary Chromebook to charge it.  Now the ipod is telling me to Eject before disconnecting and I don't know how.  Please help!

    My regular computer (which has i-tunes installed on it) is broken right now and I plugged my ipod into my temporary Chromebook to charge it. Now the ipod is telling me to Eject before disconnecting and I don't know how.
    Please help!

    Hello joan marie\'s ipod,
    Thank you for the question.  You can safely eject your iPod using these steps:
    To eject iPod:
    Select your iPod in the iTunes Source list.
    Click the eject icon next to the iPod in the Source list or choose Eject iPod from the Controls menu.
    You can find these steps and additional ways to eject your iPod in the following article:
    Safely disconnect iPod
    http://support.apple.com/kb/ht1853
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Hi, I just put a new internal hard disk to my MacBook after formattimg it and I don't know how to install the OS X? Any help please

    Hi, I just put a new internal hard disk to my MacBook after formattimg it and I don't know how to install the OS X? Any help please

    Be sure you have prepared the new drive correctly:
    Drive Preparation
    1.  Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.
    When formatting has completed quit DU and return to the installer.  Complete the OS X installation.

  • HT4927 all my pictures in iPhoto got deleted and i don't know how to get them back so could anyone help me with that ??

    all my pictures in iPhoto got deleted and i don't know how to get them back so could anyone help me with that ??

    We do need more information to help. Are the images gone from your iPhoto library, or is the iPhoto Library missing? How and when did this happen?
    If images are missing from the library: Did you check for hidden photos? Did you check the iPhoto Trash?
    If the pictures are still in the iPhoto Trash, open the Trash, select the images and and press the liitle arrow in the lower right corner - select "Put back".
    If the pictures are still in an "iPhoto" folder in the system Trash (with sub folders named by date), import these folders to your iPhoto library.
    Have you checked, if you have opened the correct iPhoto Library? Launch iPhoto with the options key held down, to select another Library.
    If the entire Library is missing, have you searched for ".photolibrary" with spotlight?
    Do have a backup?
    If none of these easy measures helps, report back with more details - your iPhoto version, and anything else that might be helpful to find out, what the problem is. Don't do anything that changes the contents of your hard drive for now.
    Reagards
    Léonie

Maybe you are looking for

  • Do I need a new modem or a router or neither?

    I realise this may dovetail with other posts but I need one or two things to be clarified... Just got airport express which I haven't used before. My modem is ADSL with a USB connection so it's no good for connecting to the airport; I presume I need

  • Essbase partition issue

    Hi , I am trying to do replicated partition between databases(outlines are same), but for some reason I am getting the below warnings..can any one tell me why? Partition [serverx balsh balsh] contains member mapping errors [Target] - Partition defini

  • Japanese language extraction both bw and ecc are unicode.

    Hi all, I am trying to load the japanese language from ecc to bw. Both ecc and bw are unicode system. Both bw and ecc has japense language installed. I can see the data in the psa has japanse lanaguage but when i try to load the data i am getting an

  • I need to remove a website that I allowed as an exception.

    I tried to go to a website and was told that it might not be secure. I allowed it and added it as an exception. Now I found that it was the wrong website and want to remove it from my exceptions. Where do I find that option?? Thanks!

  • Mail mixes up messages

    Hi, Since a couple of days osX mail app mixes up my messages from different inboxes. The sender and subject of these messages are not the same. For example. Yesterday I send a message with subject "ssh access VPS" to person x. And when I select this