Create folder / file icon with automator

Guys,
I know very little about using Automator.
I was wondering if there is a way to create folder / file icons using automator to take an image of the contents of the file (maybe an image file / autodesk or sketchup drawing etc). The process would be similar to the way image files such as jpeg etc display the image as the file icon automatically.
Hope this makes sense.
Cheers....Scotty

Have you considered using rsync?  This has the benefit of only copying only changed files on subsequent backups.
Here's rsync wrapped in Applescript:
set SrcDir to (choose folder with prompt "Please select Source directory")
set DestDir to (choose folder with prompt "Please select Destination directory")
set SrcDir to text items 1 thru -2 of POSIX path of SrcDir
do shell script "/usr/bin/rsync -aHE --delete --exclude=\"*.mpg\" " & space & SrcDir & space & POSIX path of DestDir
For a list of rsync options, in Terminal, enter: man rsync.

Similar Messages

  • I would like to be able to create a few icons with photos on them and linked to a persons phone number.

    Hi, my father is in the middle stages of dementia and having trouble using his new iphone. I would like to be able to create a few icons with photos on them and linked to a persons phone number. This way he can select an icon and it will auto-dial that number. I did some research and an app called SBphotoDial did exactly what I need but it no longer seems to be available in the App Store. Any thoughts?

    See Here for iPhoto...
    iPhoto: How to move the Library to an EHD
    Make sure that the EXT Drive is formatted as Mac OS Extended (journaled).
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.

  • Flashing File icon with '?' does NOT mean your HDD is shot!

    A week ago my computer failed and started up showing the flashing file icon with the '?' at startup. I ran all the diagnostics that every forum told me to. I even reset the PRAM. So I went to the mac store and they told me it was probably the HDD but that it could be just the SATA cable but there was no way to tell unless I had another HDD. So I went out and bought a 500GB for $65 and installed it. Sure enough the problem was only my SATA cable. Apple sold it and installed it for only $32. They also installed OS X for free.

    I'm currently having the same problem. Flashing ? folder..troubleshooting..etc. According to everything I've read, it seems like my HDD is shot. When I boot from my OSX disc, I can't detect the HDD to install, restore, or anything. Yet, I've taken the hard drive out and it spins normally when I boot or launch the OSX disc. Do you still think it could just be the SATA cable?

  • Macbook air mid 2013, I erased my HD and while downloading the OS screen went of and when I switched back on I get a file icon with a question mark.

    I erased my HD and while downloading a new screen went of.When I switched on again there was a file icon with a question mark

    restart holding down command+r, you'll be able to reinstall your OS here

  • Blinking file icon with question mark at startup

    my computer sort of froze so i forced restarted it (second time i've done that in its one year lifetime) and when it started back up the screen displayed a file icon with a question mark blinking on and off every two seconds. eventually the fan started humming too. i have since forced restarted it twice with the same results. any ideas on why my darling will not start properly?

    My MacBook Pro did the same thing last night, and I don't think this is good news.
    So far I have:
    -Reset PRAM and PMU
    -Startup from install disks and run Disk Utility. DU doesn't even see the drive! Even Target disk mode doesn't reveal the drive.
    -Archive and install; the installer doesn't see the drive
    None of these worked, and from reading on other disussions, it looks like it is a hareware problem. I will be going to the Applestore this afternoon when I get off of work to see if they can fix it.

  • Flashing File Icon with Question Mark Upon Start-Up

    Today when I went to use my computer (which was already on) it went blank and then came up with a gray screen with a flashing file icon with a question mark in the middle of it. I have already troubleshot things with several forums online and nothing has worked. I have tried to restart in Safe mode, single user mode, verbose mode, and tried to get on using my option key which got me to an internet login screen finally. I tried to log in and eventually got to an apply.com/support screen with -1007f underneath. I am not 100% which operating system I am on. I know that it is Mac OS X and pretty recent. Please respond if you can help!

    Reset the SMC and PRAM
    Intel-based Macs: Resetting the System Management Controller (SMC)
      About NVRAM and PRAM
    To boot from DVD:
    Press C during startup
    Start up from a bootable CD, DVD, or USB thumb drive (such as OS X install media).

  • My mac is flashing a file icon with a quetion mark when i start it up

    When i start up my mac book pro it flahes a file icon with a question mark on it and stops there. Please help. 

    The MBP is having problems connecting to the HDD.  Look at this support article:
    http://support.apple.com/kb/TS2570
    Ciao.

  • White screen with flashing file icon with question mark mean

    What does this mean.   We are getting a white screen with flashing file icon with question mark inside the file. 

    It almost certainly means it can't find a bootable volume (one with OS X on it).
    Which means most likely you will have to find your original system installation DVD and install it. Then you should figure out what caused the problem.
    Read this to diagnose it before resorting to reinstalling the OS:
    http://support.apple.com/kb/TS1440
    Excerpt:
    Additional steps
    If your Mac still starts to a flashing question mark, follow the steps below. If any step resolves the issue, you don't need to continue to the next one.
    Select your Mac OS X startup disk with Startup Manager by restarting and holding the Option key. After your Mac starts up, restart again to verify that the flashing question mark does not appear.
    If the issue persists, insert your Mac OS X installation disc. Be sure to either use the disc that came with your Mac, or, if you installed a later Mac OS X version from disc, use the newer disc.
    MacBook Air note: On a MacBook Air, there are two options for starting up from Mac OS X media: Either connect a MacBook Air SuperDrive to the MacBook Air via the USB port and restart the computer, holding down the C key during startup, or use Remote Install Mac OS X to startup from a system software DVD that's located on a partner computer. Once started up from Mac OS X media, skip to step 3.
    Restart the computer, then hold the C key during startup.
    From the Utilities menu, choose Disk Utility. Don't click Continue.
    Select your Mac OS X disk (named "Macintosh HD" by default) in the left side of the Disk Utility window.
    Click the First Aid tab.
    Click Repair Disk to verify and repair any issues with your Mac OS X startup disk.
    After repairing the disk, try to start up normally.
    Important: If Disk Utility finds issues it cannot repair, you may need to back up as much of your data as possible (or use Time Machine to back up to a different disk), then erase the disk and reinstall Mac OS X. You should back up important files and data before erasing a drive. Erasing deletes everything on the hard disk (including things on your desktop). Also, you can install Mac OS X onto an external disk, start from the external disk, and use Migration Assistant to transfer items from your usual internal Mac OS X startup disk to the external disk, then erase the internal disk and reinstall Mac OS X.
    If the issue persists, and Disk Utility didn't find any irreparable issues, quit Disk Utility, quit the Installer, select your disk when prompted, and restart.
    If the issue continues, reset PRAM. Note: After resetting PRAM, if the computer starts up normally, reselect the startup disk in the Startup Disk preferences.
    If none of these steps resolve the issue, start up from the Mac OS X Installation disc and reinstall Mac OS X.

  • OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS OVMSRVR. Its server is not in a cluster. [Thu Dec 04 01:33:10 EST 2014]

    Hi Guys,
    Im trying to create a repository .I have a single node OVM server and have presented two LUN's (Hitachi  HUS110 direct attached (via FC))
    I've created a server pool and unchecked the clustered server pool. I see the LUN's (physical disk from Oracle Virtual manager) .But when creating the repository i'm having this error
    "OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS OVMSRVR. Its server is not in a cluster. [Thu Dec 04 01:33:10 EST 2014]"
    Any steps i missed?Appreciate anyone's input
    Regards,
    Robert

    Hi Robert,
    did you actually add the OVS to the server pool, that you created?

  • How do I apply a custom folder/file icon in Yosemite?

    How do I apply a custom folder/file icon in Yosemite?

    Select the image you wish to use and press COMMAND-C to copy it. Select the folder/file icon. Press COMMAND-I to open the Get Info window. Click in the icon image in the top left corner, then press COMMAND-V to paste your image.

  • Xml publisher enterprise!!! create rtf file dynamically with load xml data

    i am new to xml publisher enterprise , i want a solution for this question ...
    i want create rtf file dynamically with loading xml data....means i wrote a program in jsp where the the output in xml file simultaneously create rtf file..but i enable load the xml data in rtf file but when i goto rtf file from where data in that load xml then it genrate the columns..but i want in dynamiclly to load the data will you please guide me ......

    Hi Atiq
    Im not quite clear on the requirement here:
    1. Do you just want to be able to extract the data and apply a template to the XML data from your jdp and render output?
    If so then you can use the XMLP APIs ... the are in the user guide. Particularly:
    RTFProcessor - converts RTF template to XSLFO stylesheet
    FOProcessor - takes, XML data, XSLFO stylesheet and output format and generates the required output.
    2. Do you want a template that will accept any data and just format it into rows and columns ? This can be written but your XML structure is going to have to be static, the data of course can be dynamic.
    Regards, Tim

  • Folder/ file icons are different sizes from one window to another!

    Hi there
    I am having an extremely annoying problem where all my folders and files (in icon view) are totally different sizes from each other from one window to another. For example, I might click on a folder that's icon is small sized (64x64), but when that folder opens up, the icons of the subfolders inside are huge (276x276) and need to instantly be resized and re-arranged. Then if i continue to open one of these subfolders, the file icons inside it are now medium sized (96x96). Each new folder that I go into on my hard drive will be differently sized and I end up spending ages resizing and re-arranging them before I can do my work. This problem never happened in Leopard and Im despairing of what to do.
    Is there a way of setting a default icon size and spacing that can then be applied to every folder and file on the hard drive? I have used the 'Use as defaults' option on the 'View options' window but this doesn't apply it to anywhere else besides the current window you are on.
    Surely, Im doing something wrong as Apple could never have overlooked such an obvious problem like this?
    Can anyone advise?
    Many thanks
    Dan

    The Finder will (theoretically) remember the view settings for each individual folder that you visit. If you have not opened a particular folder before, you should get the default view settings, but once you have changed the view then that is what you will get on subsequent visits. You can erase the previous settings by deleting the (normally invisible) .DS_Store file that is created in a folder when it is opened, but this file can contain other Finder metadata.

  • HT3964 A file icon with a question mark appears instead of apple when booting?

    Macbook will not boot. An icon with a question mark in a shape of a file apears after a long delay. I am accessing network on another Mac. Any suggestions for booting would be welcome.

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the Operating System data on the hard drive is somehow corrupted.
    Put your install DVD into the optical drive (CD/DVD drive) and reboot. Be sure to either use the disc that came with your Mac, or, if you installed a later Mac OS X version from disc, use the newer disc. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option Key until the Install Disk shows up) until the apple shows up. That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is, then click on the Mac OS partition of your hard drive in the left hand list. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions. After repairing use Startup Disk from the same menu to choose your hard drive for restarting from your hard drive.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • 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.

  • Create Folder / Files and then can't rename or save for 1-30 minutes

    On all of our Windows 2008 R2 File Servers (Some more reproducible then others) on our user shares only when users create a file/folder they can not rename it right away they have to wait 1-30 minutes.  Here is an example of the process... Thoughts...
    This is happening on our Windows 7 & Windows 8 machine to our Windows 2008 R2 servers this does not appear to happen on Windows 2012 File Servers.

    Hi,
    The issue could be due to thumbcache.dll still has an open handle to the local thumbs.db file and does not currently implement a mechanism to release the handle to the file in a more dynamic and timely fashion.
    To work around the issue, please enable User Group Policy setting for "Turn off the caching of thumbnails in hidden thumbs.db files" to check the results.
    For more detailed information, please refer to the article below:
    Renaming a network folder in Windows 7 Explorer fails with "the action can't be completed..."
    http://support.microsoft.com/kb/2025703
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for