Hidden files starting with colon not showing in finder--how to delete?

Was playing around with an AppleScript to generate vcards and initially didn't get the path name right. The result (oops) is that a whole batch of vcard files were written into the MacintoshHD-level directory.
The file names start with colons. I can't see them in the Finder, but I can see them in Terminal:
xxx-xxx-computer:/ xxxx$ ls
:Users:xxxx:Desktop:AddressBookVcards:xxxxx.vcf
:Users:xxxx:Desktop:AddressBookVcards:xxxxx2.vcf
(and so on, followed by the normal directory names you'd see in the Finder)
Is there any way to get this list of hidden file names in the finder so I can delete them easily with drag and drop? Any other suggestions? Thanks.
MacBook Pro 15"/2.16Ghz/2GB RAM   Mac OS X (10.4.9)  

Hi RKNYC,
   This is a subtle issue. The path separator is the character that delimits directory names in the path. As Camelot said, the path separator is never a valid filename character. The complexity comes in the fact that OS X has two ways of specifying a path, each with a different path separator. The classic OS use a colon as a path separator but UNIX components use a forward slash as a path separator.
   Instead of eliminating both characters as valid filename characters, Apple made an interesting choice that really is the only way to eliminate just one character. If you put a forward slash in a filename in a carbon app, it will be allowed because carbon apps use classic paths internally so only a colon is disallowed. However, if you list the same file with a UNIX tool, you couldn't see a forward slash because that would be illegal. Instead, you see a colon in the place of the slash. There's an illegal character and the other one and if you put the other in a filename, it will change depending on context.
   What happened to you is almost certainly the opposite of my example above. AppleScript can handle both contexts but the syntax for UNIX paths is tricky. What you probably did was use a UNIX path in a classic context. AppleScript took you to mean that you wanted a file at the top level of the drive that has a very long filename with lots of slashes in it. That is, your slashes were taken as filename characters: the other character. Then when you listed it in a UNIX context, those slashes turned to colons.
   In order to get AppleScript to understand UNIX paths — to treat a forward slash as a delimiter — you have to specify the path as a POSIX path, like so:
Posix file "/var" as alias
That acts as a handle to a file, which you can create if it doesn't already exist. An alias doesn't have to exist while a file does.
   There's one thing I don't understand: why the files would be invisible. I hate that AppleShowAllFiles option. I've got a lot of UNIX apps that store their preference files as hidden files (filenames beginning with a period) at the top level of my home directory. I couldn't find a thing if I had to sift through all of that. However, your filenames don't begin with a period and I just checked; on my machine, filenames beginning with a colon are shown in the Finder — they just begin with a slash. (the Finder is a Carbon app)
Gary
~~~~
   An effective way to deal with predators is to taste terrible.

Similar Messages

  • HIdden file fond with terminal, what is it?  How to delete it?

    I need help. I have a massive 19 gig file or directory. It is in the /user/share directory. It is named .
    That is it. Just a period and it is 19 gigs. I do not know if I need it. And if I can delete it, ho how do I so?
    Thanks to this file, the server is out of storage space ( on the OS partition ).
    Thanks in advance
    John

    Can you please post output of:
    ls -alh /usr/share
    Here is the beginning of my output of that command:
    bash-3.2$ ls -alh /usr/share/
    total 64
    drwxr-xr-x 79 root wheel 2.6K Mar 9 17:48 .
    drwxr-xr-x@ 13 root wheel 442B Mar 10 00:26 ..
    To get the true size of the contents of that directory, I would use du (disk usage) with a depth of 1 level (-d 1) and with human readable output (-h):
    Here is the full command and the beginning of its output:
    bash-3.2$ du -d 1 -h /usr/share
    280K /usr/share/aclocal
    148K /usr/share/aclocal-1.10
    34M /usr/share/ant
    224K /usr/share/apr-1
    1.3M /usr/share/autoconf
    952K /usr/share/automake-1.10
    32K /usr/share/bakefile
    248K /usr/share/bison
    21M /usr/share/caldavd
    312K /usr/share/calendar
    This should enable you to find the culprit(s). FYI, my /usr/share directory is 455M
    Message was edited by: jaydisc

  • Hidden file when converting from raw to jpeg. How to delete this?

    I just found out that when converting raw into jpeg in Photoshop there is a hidden file enclosed starting with ._ Computers don't see them but televisions do. I discovered this because I want to show a batch of my images on a television with a usb of a sd card. It shows my images and after each normal image I get a black image with a questionmark. It says 'cannot read this file' and it shows the name of the image but with a ._ in front of it. For instance garden.jpg and then -_garden.jpg. Computers don't read images starting with ._ but televisions seem to do so. I want to delete these ._ images because I cannot show a slide show of my images on a television. Anyone can help? It seems that this hidden file is incorporated into the jpeg file.
    Thanks in advance!

    Thanks. I have thought of this solution but these files are not showing when I set it this way. I had a specialist helping me to find this problem and he was very surprised that these hidden files didn't show up in his special program for showing hidden information. Only when going deeper and deeper into this program these files showed on his computer. As they are incorporated into the original file (the jpeg version) you don't seem to be able to delete them. What do people do when they want to show (jpeg converted from raw)images on their tv?
    I have a Mac if that helps.

  • How do I show files starting with a "." in my Mac?

    Hello fellow Apple users, I have a problem here. Care for a bit of help?
    I am using: OS X Mavericks Version 10.9.4, Macbook-Pro With Retina Display 13'', bought in mid 2014.
    I seem to have a problem with revealing hidden files on my Mac, as I am currently creating a modification for a game called "Minecraft" using Eclipse. Every time I try to open my project, it says that the .project file for the project is missing, how do I solve this?
    Is there a way to make files starting with a "." appear, and to applications as well? (And yes, I know how you can do "defaults write blah blah blah...' in the Terminal, but it still won't just work for Eclipse, even if it works for us.
    Thanks in advance,
    Alex Ni

    Revealing hidden files and getting that error are 2 completely different thing. Even though you can't see hidden files in a finder window doesn't mean they are inaccessible to programs and the OS. They are just hidden from view to the user.

  • After installing or upgrading to Firefox 31, starting Firefox does not show homepage, customize shows a blank page and the option button does not work

    I am the Windows admin for a university department and install PCs with Firefox all the time. This problem does not happen with every PC I maintain, only a select few (different model laptops with Windows 8.1 and update 1.) Until today, it only happened with new user accounts (with admin rights) that I setup on the laptops for our staff. Today this happened with The Administrator account while setting up a new laptop. In all cases so far, I install Windows from a saved image that was created using sysprep.
    I have tried the many suggestions of resetting Firefox, deleting the users Firefox profile, deleting the users Windows profile, uninstalling/reinstalling Firefox, uninstalling/reinstalling Firefox and the latest Java, but nothing helps. After uninstalling, I run an app to delete temp files and caches and will even manually remove registry keys HKLM\SOFTWARE\Mozilla and HKCU\SOFTWARE\Mozilla. Plus I reboot and make sure the install folder is deleted after uninstall.
    Results are the same: after installing Firefox 31, the initial setup window for migrating IE and/or Chrome pops up and after clicking the Finish button, Firefox starts, but does not show the initial new user page, only a blank page. Clicking on the Options button (3 bars) does nothing. Right-clicking in the proper area, the popup menu appears so I can choose to Customize, but that only opens another tab with about:customize in the URL and the page is blank. From the right-click popup menu, I can enable the Menu Bar and get to Options from that.
    My latest attempt has helped a little. I uninstalled Firefox 31, cleaned up, deleted user Firefox profile, rebooted and then installed Firefox 30. Inital startup runs, and tells me I'm not up to date, and the Options button works. But I still cannot customize.
    I then upgraded to Firefox 31, but then it's back to no startup page, no options button and no customize. I can downgrade to 30 and get all but customize working again.
    Only Addon is one for McAfee Scriptscan for Firefox 15.1.0, which just after installing is disabled.
    Any help would be appreciated. Thank you.

    Ok. I disabled hardware acceleration. The only extension is the McAfee Scriptscan for Firefox 15.1.0, which was already disabled. I then disabled all plugins (Acrobat, Google Update, Intel Identity Protection (2x), Java Deployment Toolkit, Java Platform, MS Office 2013, Quicktime, Shockwave, Silverlight), which were all up to date.
    Normal or safe mode still has same result. No startup, no option button and no customize.
    Thanks for your help. Got any other suggestions?

  • Files starting with period on samba share

    Hi,
    Is there any way to prevent the creation of files starting with a period on a samba share? I have seen the terminal command that prevents creation of the "ds_store" files, but what i'm concerned about is the creation of the hidden .htm files and such that are created all the time on this samba share.

    Yes, "*defaults write com.apple.desktopservices DSDontWriteNetworkStores true*" prevents the Mac to create .DS_Store files in network shares, globally.
    But I don't see what you are talking about with hidden .htm files created all the time, I do not have such problems. Maybe some web site editor do create temp files this way, but it is the way it works, I don't think it is a good idea to prevent that.
    You still have the "veto files" option in Samba server configuration to prevent file patterns to be used, but I won't guarantee all applications needing access to hidden files will continue to work.

  • After signing with e-signature acrobat creates an additional file starting with aa

    I open a file and place a signature on the document. After placing the signature, and locking the file on save, it overwrites the existing file fine, however it creates an additional file in the folder and the files start with aa.  example: aab03284  (No file extension is attached)

    I have also had this issue - and it just randomly started happening, along the same time the request to do EchoSign disappeared (not sure if they are related).  I'll save as over top the existing file, and it asks if I want to do that, I hit 'yes' and it then creates a temporary file instead of saving it over the existing.  I have to then go back in, 'save as' again, say that I want to do that again, and then it finally saves over it correctly.

  • File's Owner does not show methods in Interface Builder 3.2.6 but the class is set correctly and the nib on the lower left is green

    Hi, I'm trying to make my first IPhone app. After having problems with interface builder the first time I coppied the code directly from a tutorial in case I made any mistakes. I saved the program, and re-opened the .xib file. Right clicking  File's Owner does not show a list of methods. I've been looking around for solutions for this but have not gotten anything to work. I tried deleting the default .xib and creating a new one through file-> new file. This did not help. I did notice that File's owner was showing up as a light blue cube apposed to a yellow one now and found that a bit odd but otherwise nothing changed. I opened the library menu and selected helloWorldiPhoneViewController so it would show up in the view port. I set the class field of File's Owner to hellowWorldiPhoneViewController. File's Owner still does not show methods when right clicked or when a line is dragged over a button. I read somewhere that the color of nib on the lower left of the viewport may indicate a problem, but it is green not indicating any issue. Every solution I found for someone else seems nto to work for me and I don't know how to continue.
    here is the .h file just in case:
    //  HelloWorldViewController.h
    //  HelloWorld
    //  Created by Paul Peelen on 2011-03-14.
    //  Copyright 2011 9697271014. All rights reserved.
    #import <UIKit/UIKit.h>
    @interface HelloWorldViewController : UIViewController {
            UILabel *textLabel;
    @property (nonatomic, retain) IBOutlet UILabel *textLabel;
    - (IBAction)changeTheTextOfTheLabel;
    @end
    I'm trying to connect changeTheTextOfTheLabel to a button and textLabel to a label

    You need a parameter for an interface builder method. The type should be id and the name is typically "sender". It would look like this:
    - (IBAction)changeTheTextOfTheLabel: (id) sender;
    Be careful about those tutorials. Many are ancient and do not correspond to current Xcode behaviour.

  • Select a Folder/File starting with a Space via Keyboard

    I have just upgraded to Snow Leopard and I am having problems selecting a folder/file that starts with a space in the finder and in open/save. The problem is that it activates QuickView. In Leopard (10.5) you could override QuickView (in the Finder) by pressing the Option Key and the space bar at the same time and then pressing the next letter in the folder name. This action now open QuickView in Fullscreen mode. I have tried other key combos without success.
    Thanks for any help.
    Rich

    I have tried other key combos without success.
    OS X Help has this to say about that:
    -=-=-=-
    Creating keyboard shortcuts for applications
    You can assign your own keyboard shortcuts to menu commands in any Mac OS X application or in the Finder. This may be useful if, for example, one of the “global” shortcuts, which works the same in most applications, is used by one application for a different purpose. In this case, you can assign it a different key combination.
    You can create keyboard shortcuts only for existing menu commands. You can’t define keyboard shortcuts for general purpose tasks such as opening an application or switching between applications.
    To create a keyboard shortcut for an application:
    Choose Apple menu > System Preferences, and then click Keyboard.
    Click Keyboard Shortcuts, and then click the Add button.
    Choose an application from the Application pop-up menu. If you want to set the same key combination for a menu command that appears in many applications, choose All Applications.
    If the application you want to select does not appear in the list, choose Other and locate the application using the Open dialog. Some applications may not allow you to set keyboard shortcuts.
    Type the menu command for which you want to set a keyboard shortcut in the Menu Title field.
    You must type the command exactly as it appears in the application menu, including ellipses and any other punctuation. An ellipsis is a special character that looks like three periods. To type an ellipsis, press Option-semicolon, or use the Character Viewer. It may be difficult to know whether the command is written in the menu with a real ellipsis or with three periods, so if one does not work, try the other.
    Click in the Keyboard Shortcut field and press the key combination that you want to assign to the menu command, and then click Add.
    You cannot use each type of key (for example, a letter key) more than once in a key combination.
    Quit the application for which you added or changed a keyboard shortcut.
    Restart the application to see the keyboard shortcut in the application’s menu.
    If you assign a keyboard shortcut that already exists for another command or another application, your new shortcut won’t work. Find the menu command that’s using it and reassign the keyboard shortcut for that item.
    To remove a customized shortcut, click the Delete (–) button.

  • When I save a site after I modify the file the changes do not show up in my upload file.

    When I save a site after I modify the file the changes do not show up in my upload file. What am I doing wrong?

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • I am not able to print on my existing printer. Print mode takes me to "Print to File" . It does not show me my laser printer.

    I am not able to print articles or E-mail on my existing laser printer in print mode. It takes me to "Print to File" . It does not show me my laser printer.

    hi,
    what's SAP version you are using ?
    I am using SAP R/3 4.7 ext 2.00 and have Basis patch level 52 (minimumly), I am  able to use SAP Front end printing.
    You can use Access Method : G : Frontend print with control technologie
    and also Host Printer : __DEFAULT
    best regards,
    ardhian

  • Please can kind person help me with uploading photos, not showing in finder!

    Hello dear Apple users,
    Please can any kindly souls offer advice at this busy time... I am trying to create a last-minute personalised gift for a beloved brother but have not yet succeeded in uploading my photos from this page:
    http://www.bagsoflove.co.uk/estore/design/51?tid=26342844-7e27-4d27-a0ab-b841175 00ac2
    I know it should be easy but when I hit upload and select my "photos" from drop down menu on left, there all my photos except the ones I carefully edited, saved and flagged in iPhoto earlier this evening- I  have checked in iPhoto and they are still there, all flagged etc but not showing in finder. (grr!)
    So I opened menu from iPhoto and clicked "make visible in Finder" option, saved them with distinctive names but they are still not coming up when I search those file names..
    Please what else can I do?

    You never access your photos in iPhoto using the finder - the iPhoto application totally replaces the finder for photos when you use it - you can select the photos in iPhoto and export to a desktop folder (see Exporting From iPhoto for export options) or you use the media browser available in every open/upload/attach window on the  left under media==> photos ==> iPhoto - see How to Access Files in iPhoto for more details
    LN

  • Transaction starting with Y_DEV are showing in German language even though

    Hi,
         When we are login into SAP with French language, then all the transaction starting with Y_DEV are showing in German language i.e the initial screen and when we execute(F8) any transaction starts with Y_DEV, the output is coming in French language.
    Why in the initial screen, it is reflecting in German language even though the login is made with French language.
    With regards.

    Hi,
    Y_DEV* are user-developed reports. Could be that the selection parameters are not translated to French or maybe they just have to be re-generated (it happens sometimes in SAP). Use GR52 to regenerate the group of these reports.
    Regards,
    Eli

  • File Save Dialog does not show web folders

    Hi.
    My system is SAP ECC 6.0. From custom abap program, I need to be able to navigate to a sharepoint folder and save a file to it. I call METHOD cl_gui_frontend_services=>file_save_dialog for this. I have already mapped/added the SharePoint site (ex. http://abc/xyz/) to My Network Places. However, when I run my program, the File Save Dialog does not show the web folders in the said sharepoint site. Any clue to what I'm missing here? In WiinExplorer, I have no issue navigating/accessing the web folders.
    Thanks in advance.

    project manager
    um, yeah.
    Should not need the project manager simply to see new files added to a directory in a Open/Save dialog window since last opening the app.
    I did a scan, a extended scan, opened all the little turn down arrows of the
    full path to the directory I knew there to be the new files and yes, Logic
    shows them there in the "Project manager".
    BUT Logic still does not show the files in the Open/Save dialog windows.
    This is strange because even simple app like TextEdit can show
    new files in it's Open/Save dialog function windows without the need of
    a project manager.
    I have to quit and re-launch each time to see any new files?

  • Raw files for nikon d810 not showing a picture in preview. Have  camera raw plug in 8.6.0.250 . File will open in raw but no picture ahead of time.

    Raw files for Nikon D810 not showing a picture in preview for photoshop cs6 . Have camera raw plugin 8.6.0.250  File will open in ACR and process but no picture before opening raw file.

    Are you referencing Apple's Preview application or the Preview panel in Bridge?  Huge difference.
    Try purging the cache for the offending folder(s) through the Tools menu in Bridge.

Maybe you are looking for

  • Unable to re-add gmail account to Mail app

    I'm trying to re-setup a Google email account that I deleted from my Macbook Pro (Yosemite). I get the following message when trying to set it up in Internet Accounts: There was a problem setting up the Mail account. Mail couldn't discover the accoun

  • I can't with after upgrade

    i need you to help me plz... I was a Mac air user based on 'Lion 10.7.4' and 'Logic Express 9.0'. A few days ago, I re-installed Lion 10.7.4 again and upgraded 'Logic 9.0' to 'Logic Express9.1.7' After that Logic works well. but the previous files i

  • Vendor is the same as customer

    hi gurus, i have situation where the vendor happens to be the clients customer and it so happens that the client sells good to him and instead of cash he gives good to them being their vendor and the client clears the purchase invoice against a sales

  • System Temperatures

    Question... I'm running a pretty supped up rig but I have yet to go to water cooling.  I have a 120mm fan in the front of the computer, one on the door, one in the back, and the heatsync fan of course... My system idles in windows (according to Core

  • I have unexplained charges on my credit card

    I have two charges on my credit card from I tunes that I don't know what they are for