Auto assign folder icon as folder.jpg

back in the dark ages (when i used widows), i had all my music separated into different folder for each album. In each folder i would put the cover, calling it folder.jpg, and windows would assign the folder icon as that jpg.
now, how can i assign each folder's folder.jpg as the icon for each folder, so that in Finder the folder icon is the cover?
naturally, this would need to be done in an automated manner, as i have thousands of albums.

I've played around with this a little (seemed like a fun task to work on).
I'm not sure what the best way to give these instructions is, so if you need more help with any step, please let me know.
WARNING: I've tested this as best I can, but there may be issues. I advise making a backup first and doing a test run.
1) Install osxutils (I used macports to do this)
2) Open Automator and create a new workflow with the following items in order:
Ask for Finder items select Type: Folders
Get folder Contents with Repeat for sub folders selected
Filter Finder Items with File Type is JPEG
Add Thumbnail Icon to Image Files
Run Shell Script
In the shell script you want to pass the input as arguments and paste the following into the text window
for f in $@
do
dir=`echo $f | sed 's/\(.)/./\1/'`
/opt/local/bin/seticon $f $dir
done
3) Save as application and run.
Some things to note:
You may need to change the location of seticon in the shell script if you install osxutils using a method other than macports.
This script adds thumbnails to your jpeg files, this seems like a harmeless side effect to me, but you should know that it is happening.
If you want to remove an icon, get info on it, select the icon and press the backspace key.

Similar Messages

  • How can I assign an icon to a folder using Powershell?

    How can I assign an icon to a folder using Powershell?

    I'm trying to make a script that goes through a folder recursively, checks for every folder if it's name is "template", and if so it changes the icon of that folder to an icon
    I chose.
    I searched for an answer here, and I've only managed to find a way to assign an icon to a shortcut, but not to an existing file.
    Thanks in advance (:

  • Convert Windows folder.jpg into OS X custom folder icon

    Hello everyone,
    after months reading numerous post on the Web trying to find a way to convert the Windows "folder.jpg" into an OS X custom folder icon, I've come up with a solution using only the shell. Some users proposed using the Automator, which caused me lots of trouble (Spotlight sometimes wouldn't find the folder, or would return a Privacy error, and so on). Therefore, my solution uses only a Shell script with dependencies on some external libraries (most of them allowing to manipulate images and icons).
    Here's the code on Pastebin.
    I hope this will be as helpful for you as it was for me. It allowed me to apply the custom folder icons to thousands of folders, including the local Mac folders as well as the one on external storage (USB or LAN).
    André L. M. SANTOS

    Hello everyone,
    after months reading numerous post on the Web trying to find a way to convert the Windows "folder.jpg" into an OS X custom folder icon, I've come up with a solution using only the shell. Some users proposed using the Automator, which caused me lots of trouble (Spotlight sometimes wouldn't find the folder, or would return a Privacy error, and so on). Therefore, my solution uses only a Shell script with dependencies on some external libraries (most of them allowing to manipulate images and icons).
    Here's the code on Pastebin.
    I hope this will be as helpful for you as it was for me. It allowed me to apply the custom folder icons to thousands of folders, including the local Mac folders as well as the one on external storage (USB or LAN).
    André L. M. SANTOS

  • Can't find files when building EXE unless the WHOLE codebase is in an auto-populating folder

    I have a project with FPGA (specifically a couple cRIO targets).
    I have a build spec for a PC target, then a target that's set up for Scan Mode, then a couple targets set up for FPGA mode.
    When I try and build the FPGA or Scan Mode targets, I NEED to have the entire code folder (and sub-folders) in an auto-populating folder.
    What's strange is that I manually added the same folder, and then pulled the Top-level VI out so that it was easier to see within the project.  When I did that, I got errors that files were broken and missing.  I then removed that folder and added the same folder as auto-populating and all is well.
    Yes, I was able to make the build work by including debugging, not removing TypeDefs, etc.  This also cause the build to go from 2MB and 30 secodns build time to 50MB + 10 min build time.
    Why si this?  I would like to remove the files for other targets from the Source of each of the targets.  If I do this, I can't build (these are other top-level VIs that are not appropriate on a per target basis).
    Any ideas?

    Hey Jed,
    It sounds like the problem you are having is coming from a file path issue.  When you manually add folders as "Snapshot" the file paths are set and will generate errors if the files are moved.  The autopopulating folder updates file path locations so you don't have those same issues.  Debug mode allows for the file paths to be reassociated, but at the expense of time, and in some cases resources.  Enabling debugging will cause the compilation to take longer.
    You wrote:
    So what I am trying to say is that ALL I did when I removed the auto-populate was to click "Stop Auto Populate" and moved the Top-level VI up one folder level within the project.  This causes it to fail compile (unless debugging is checked).
    This makes complete sense.  By moving ANY VI in a project and not having the folder set to auto-populate or having debugging enabled will cause an error because that VI that you moved isn't where it is supposed to be.  This is the way that projects and the compilation of programs was designed.
    To avoid this, don't move files around after they have been added to the project unless you have folders set to autopopulate, or have debug mode enabled.  When you start shuffling file paths, associations get broken and compilations will fail.
    Ben N.
    Applications Engineering
    Certified LabVIEW Developer

  • How to display folder.jpg in iTunes ?

    I have a file called folder.jpg in each album directory which contains album art. How do I get iTunes to display this..
    1. in iTunes
    2. on my Nano ?
    Thanks

    As mentioned by thelastvoice, iTunes does not itself use the folder.jpg file. This file is typically used and provided by WMP in Windows.
    As I live in the UK I am able to use the iTunes store to get artwork but I can see you do not have that option. For you I can suggest these alternative methods.
    1. Even the iTunes store does not have artwork for every album, I therefore sometimes resort to finding artwork either in the Walmart or Amazon stores and then dragging the artwork in to iTunes. This artwork is usually 500x500 pixels (iTunes store artwork is usually 600x600, and WMP folder.jpg artwork is a pathetic 200x200).
    2. If you already have artwork in the form of a folder.jpg you drag and drop that in to iTunes
    3. This utility iCoverArt will go through your iTunes folders and automatically take folder.jpg files and embed them in to the iTunes tracks. This is effectively the same process as number 2 above, but done automatically for you. See http://www.maximized.com/shareware/icoverart/

  • Auto Save folder not being created with new project

    Just recently I've noticed that when I start a new project there is no auto save folder being created.  I have all preferences the same (auto save every 10 min with a max of 50 and save next to project files).  I have no idea why this started or what I can do to fix it. 

    So it seems to be working now.  I went back through other projects that have been open for some time and the most recent auto save file I could find for any of them was from Oct. 8th.  So auto save hasn't been working at all.  What I did was go into preferences and change the interval a little and the frequency from where I had had it since intial set up.  That seemed to have told it to turn it back on for some reason.  It's really weird.  I guess I'll just keep an eye on it, but people may want to check there folders just in case the same issue is happening.  I didn't realize it until today and it's been happening for a couple of weeks apparently. 

  • IPhoto had a auto import folder. does this exist in photos for mac?

    I used image capture to get the photos from my iPhone, so that iPhoto didn't open every time i plugged in. there was an auto import folder in iPhoto which i could dump my photos in, then when i did open iPhoto it would import everything in that folder. is there a folder that will import everything in that folder whenever Photos for Mac is opened?

    What does iPhoto do with photos as they are imported?
    What you tried was a very complicated and unsupported way to import from one iPhoto library to another.
    The safest way would have been either
    to use iPhoto Library Manager to export a new library from the old one
    or to export the original files using iPhoto and to import the exported files.
    But pasting the Masters folder into a temporary "Importing" folder put your photos at risk. The Importing folder is a temporary cache that will be emptied, when an Import has finished.
    It started to get very slow and sluggish, so I decided I would move the photos to a new library on the same drive.
    It would have probably sufficed to repair or to rebuild the library and safe all your edits and albums, instead of migrating the photos to a new library.
    Since you do not have a backup, and your Masters folder got erased, I recommend to stop using the drive with your library immediately and to try data recovery software, for example Disk Drill. It has a free trial mode.
    http://www.cleverfiles.com/mac-data-recovery.html

  • Unable to update element entries using assignment folder

    we have recently upgraded the application from 11.5.10 to 12.1.3
    When i am trying to query employee and update the element entries (input values) using the (N)Assignment folder >(B)Entries, i am unable to do this using a Key user responsibility. However the same thing works fine for super user responsibility. (Note: I have also checked all the Task flows for both the responsibility and their sub menus but there is no difference in them)
    But if i use the Key user responsibility and Navigation: Fast path >Entries
    the system allows me to attach the element to the employee and do the Input values.
    I was able to update employee element entries using the key user responsibility in the older version though...
    what could be the cause of this strange behaviour...?

    I am trying to query the employee on the assignment folder (Form Name : PERWSFAS)
    Note: the assignment folder has been customized to do element entries for employees.
    When i click on Entries button which is present on the Assignment folder (Form Name : PERWSFAS) ... then i am trying to navigate to menu option Help> Diagnostics> Examine
    Block: $PROFILES$
    Field: PER_ASSIGNMENT_ID (When i choose this then the system throws an error message please see below)
    Error is :
    APP-FND-00558: Examine cannot get the value of $PROFILE$.PER_ASSIGNMENT_ID
    Action: Check if field or variables exist
    Action: Review your error message for more information
    anyone out there pls contribute

  • Album art - best was to create Folder.jpg

    What is the best way to create a folder.jpg file, stored in the album folder, from the iTunes Album art.
    I have to guess/conclude that there is no mechanism or tool to do this for my full collection (batch)?

    I've written a script for this called CreateFolderArt.vbs. Select some files or a playlist and run the script. Hit Yes to refresh all folder artwork with images embedded/attached to tags, No to only generate artwork in folders that have none at present.
    The script checks the timestamp of the artwork to avoid saving it multiple times for same album, so you don't need to worry about pre-selecting only one track from each album. It also sets the archive, hidden & system attributes of the files.
    tt2

  • Quota arrangement - winning contract is not auto assign in SC

    My Problem: Winning contract is not auto assign to Shopping cart
    I created a Quota Arrangement (QA). It contains 2
    contracts, for example in line item 1, contain Contract with Supplier
    'A', with target percentage of 60%. In line item 2, contain Contract with
    Supplier 'B', with target percentage of 40%. I did not specify any quotabase quantity.
    For your info, the contract for Supplier 'A" is a Purchasing Contract,
    with target value of 80 (currency Malaysian Ringgit). Contract for
    Supplier 'B' has target value of 20 (currency Malaysian Ringgit). When Icreate a Shopping Cart, with quantity 5 (each-EA) and price per unit is
    2
    (Malaysian Ringgit), total is MYR10. When I go to Source of Supply tab,
    the system showed 2 suppliers from the 2 contracts. It did not
    automatically assigned to the winning contract. We still have to choose
    which contract to be assigned. I created another SC after that until theContract exceeded quantity, but the system does not proposed winning
    contract automatically. Please help.
    Cheers
    AIN

    yes, the contract have company code

  • Portal Master-detail form how to auto assign detail record sequence number

    Portal Master-detail form how to auto assign detail record sequence number.Please help me?

    You can just read the following section
    Can I specify a sequence number generator as the default value for a form column?
    Yes. Enter the following in the "default value" field for the column:
    #<schema name>.<sequence name>.nextval
    where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
    For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
    #SCOTT.CUSTOMER_SEQ.NEXTVAL
    same way you can do for master - detail form.
    for more information on forms please refer the following URL.
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    hope it helps.

  • Auto-assign LPNs when performing receipts in Oracle WMS

    I am wondering if there is a way to auto assign LPNs to a receipt.
    Example:
    I order 2700 widgets
    900 widgets = 1 Pallet
    When the Order arrives; using the Mobile Devices; do I have to receive each pallet individually or can I perform one receipt and have Oracle configured to auto-assign the LPNs?
    We are running on 11.5.10.

    Are you open to using ASNs. If an ASN is created for a the PO, then you can have the material packed in the way you need it to be. The LPNs structure will be retained on receipt.
    Amit

  • Temporary bypass of auto assignment of Inspection type

    I have checked 'auto assignment' in QM master data view.  My goods receipts are generating inspection lots with 01 inspection type.  This is all good.  Is it possible to trick the system not to assign the inspection type in certain cases even though 'auto assignment ' is setup ?  If this is possible I would like to use this to model an ad-hoc first article inspection as required by my client.

    Hello FF,
    I tested your suggestion of creaing multiple plans and tricking system not to assign any inspection plan.  It worked. I have multiple inspection plans for Prelim series( say 501 usage) and one '01' for normal incoming quality inspection.  When a Vendor calls the buyer and cautions that next shipment has some process changes/tool changes/new raw material introdcued etc., some at Client site has to modify the QIR to put in Prelim status.  At the time of GR, system gets confused on which 501 plan to assign and leaves the assignment open in the insp. lot.  Then manually QI inspector has to assign the plan knowing the vendor's caution.  Again, Gagesh question of how change being communicated is not anwered here.  But I may propose an enhancement in the PO screen( a check box may be) that buyer puts in after receiving communication from Vendor.  This flag may run a program to put the QIR status to Prelim status.  Lets see how it goes.  My question is answered.  Thanks to you all for inciteful help.  Points goes to FF for the 'Idea'.

  • ISE - auto assign a device to group upon device registration

    Hi,
    Is it possible to auto assign a device to group upon device registration?
    Typically in the registration portal, once "Register" button is clicked, the MAC address is put into "Registered Device" group, but let's say I want it to be put in different groups depending on the AD group? (Let's say when if Staff A register the device, the device automatically put into group A, Staff B to group B, and so forth)
    Thanks

    If you create a portal Specific for device registration, you can define to which ID groups will belong the registered endpoints.
    I didn't tried this, but it might be possible to have a different portal for registration based on AD group, if you chain it after CWA or Dot1x. That would make an additional redirection though.

  • Auto-assigned IP address on an open network

    Hi Mac users,
    I guess somebody else has already had that problem (or I would really be the unluckiest person in the mac world), but I can't find any solution to it, so PLEASE help me!
    I have had my MBP for 6 months, it came with Leopard, and in November I upgraded to Snow Leopard (with someone else's CD that I can't get back do please don't tell me to do a clean Snow Leopard install). I'am not really a Mac pro cause I used to be a Windows user (yeah I know) and I never really got any problems with my Mac so please explain clearly if you have a solution for me!
    Here's my problem :
    I need to access an open network at my school. You're supposed to connect to this network without entering any weep or pa key, than you get to a page where you login with your school information. Then you get full internet access (web, skype,…)
    The thing is that I can't event connect to this network… it says "Airport has an auto-assigned IP address 169.254.143.75 and won't be able to connect to the internet" (my computer is in french so my translation may vary from the english message). This occurs with Automatic DHCP for IPv4, and whether IPv6 is in Automatic or in Disabled setting.
    The exact same thing happens whan I connect to the network using the Ethernet cable... I get the auto-assigned IP address and all...
    Of course, I tried disabling and enabling Airport, and renewing the DHCP, but I always get this auto-assigned IP address.
    I know the problem doesn't come from the hardware because I can connect without any problem to my wireless network at home.
    I am using the 10.6.2 version of Mac OS and I already checked that all the available updates are installed.
    I had a similar problem before upgrading to Snow Leopard : I could connect once to this open network, but then if I closed the lid of the computer, and then reopen it after a while, it wouldn't connect and I had to restart it entirely...
    One of my friends has a Mac running with Leopard, and he has no problem connecting to the network, and neither do the windows user. I don't think it's a problem with the number of connections available on the network because I can NEVER connect to it…
    Please help me!!! I'm hoping a Mac genius pops out of the computer and tells me what to do

    Bonjour
    The weirdest thing is that wired ethernet is not working, not getting an IP address. This may be some kind f incompatibility with the hardware but I doubt it.
    Did you check in Airport and Ethernet settings that 802.1X is not enabled and that Ethernet negociation is "Automatiquement".
    Also, you can completely wipe network profiles by removing those files from /Library/Preferences/SystemConfiguration/ :
    NetworkInterfaces.plist
    com.apple.network.identification.plist
    com.apple.airport.preferences.plist
    Then reboot

Maybe you are looking for

  • Do I need iPhoto 08 to see and use the mobileme features?

    I currently have the iPhoto (ver 6) that came with my Mac Pro. I have a lot of expensive photo editing software on my mac that I do graphic design with so spending $80 on the iLife upgrade seems like a waste of $$ to me. I would however like to use t

  • ITunes Opening Problems

    Hi All, My iTunes doesn't open. The weird thing is itunes.exe *32 and the helper appear in my processes, but iTunes does not appear in my running applications or on my desktop. The icon in my taskbar elimuminates the way running programs do for about

  • Solution Man. 4.0 upg Hangs/running very slowly  at XPRAS_UPG

    hi all, I started my solution manger upgration 14th of march ,today is 24th march ,past 3 days the upgradation is in XPRAS_UPG phase and I also followed as per the SAP note  558197(12 Hours back) In the console window I can see some transport is goin

  • 9i and 10g on same host

    Hi folks, i am just trying to run 9i and 10g on same host (sun solaris 5.9) I created 2 different oracle users on os level for installation and management of those 2 instances. There is no problem with it, but i am just curious. would it be better to

  • Does macbook air work only 6 years?

    I've heard that macbook air works only 6 years. Is it true?