Questions on structure/path of folders & directory

When I copied photos from my Vista into iPhoto'09, iPhoto display them nicely into events.
But how do I locate the path of the photos that Mac copied to ?
I used Finder but cannot find them. I mean where is the path of iPhoto that Mac copied the photos to ?
Thanks

AJ has already given you the method. I just want to explain further.
You can drag and drop the image from iPhoto into anything. Even if you are trying to put the photo into a webmail interface, you can drag and drop it into the Open File dialog and the Finder will handle it. You can drag and drop onto the Mail icon in the Dock to create a new message with the photo attached.
iTunes has the option to keep your Music library organized or let you keep the music anywhere you want. There are two checkboxes in the Advanced tab of the iTunes Preferences. I'm not sure how it keeps the library organized if you don't copy the tracks to the iTunes Music folder, but the option is there to have either or both or none.
You can drag music out of the iTunes window to make a copy. When you drag a title out of the window, you will get a little green + badge on the proxy icon you are dragging.
When dragging, regardless of where it is from, you can invoke Exposé to see all open windows and pick the one you are trying to drag to, or you can drag the files to an icon on the Dock to do something with a program or the Finder. When you hover over the Finder icon in the Dock, you can hit the spacebar to activate it faster so that it opens to a finder window. From there you can navigate through the Finder with spring-loaded folders. Just hover over the folder and it will spring open. You can adjust the speed of the spring-open in the Finder Preferences.
I don't know how Vista works, so I can't comment on it. But, trying to move files and folders around in XP drives me nuts. So, I imagine that getting the hang of dragging and dropping will have a bit of a learning curve.
And one more thing. I didn't know about this until reading about several catastrophes on these forums. In Windows, when you drag a folder onto another folder of the same name, it will merge the files. It doesn't do that in the Mac OS. You will replace the old folder and its contents with the new folder you drug into its place. There is no way in the Finder to sync two folders.

Similar Messages

  • File path from specific directory

    hi all ,
    How to get full file path from specific directory having many folder inside that directory.
    I have file name and main directory name,please help me if you know about it

    I recognize that this post is half a year old at this writing, and the OP has probably long since either solved or abandoned the problem in question. That being stipulated: if I understand the question properly, the OP is stating that there is a directory named A, and contained somewhere within that directory or one (or more) of its subdirectories is one (or more) file(s) named abc.txt, and OP would like to be able to locate and obtain the canonical path to said file(s). While I am in no way a java maven, I've written a brief program which appears to do exactly that:
    import java.io.*;
    public class Main {
        public Main() {
            String whatImLookingFor = "abc.txt";
            String startingDirectory = "A";
            File path = new File("A");
            recursivelySearch(path, whatImLookingFor);
        private void recursivelySearch(File path, String whatImLookingFor) {
            try {
                if (path.isFile()) {
                    if (path.getName().equals(whatImLookingFor))
                        System.out.println(path.getCanonicalPath());
                else
                    if (path.isDirectory()) {
                        File[] currentFiles = path.listFiles();
                        for (int i=0; i<currentFiles.length; i++)
                            recursivelySearch(currentFiles, whatImLookingFor);
    catch(IOException ioe) {
    System.out.println("During search got error "+ioe.getMessage());
    public static void main(String[] args) {
    new Main();

  • Finding path for transport directory

    I need to find the path to the directory where the transport info is saved. In our setup, it is there at /usr/sap/trans.
    My first question is that, is the transport info always at this path or can this path be changed?
    If it can be changed, how can i find what is the path from a c/c++ program? Is there a config file which has all this information or are there any APIs that we can use?

    Hello,
    the root directory for transports is defined by the SAP profile parameter DIR_TRANS which is normally set in the instance profile under /sapmnt/<SID>/profile/<instance profile file>, it can be changed and you just could read the profile file with an external program and get the value of this parameter.
    regards
    Christian

  • How to get absolute path of current directory?

    Hi, everyone!
    I want to get the absolute path of current directory.
    Are there some APIs that I can use?
    Thanks in advance,
    George

    Hi, dheeraj_tak buddie!
    What do you mean in your reply?
    "in File class u have all this methods for getting absolute path "regards,
    George

  • Uploading iweb site to path within a directory

    I need to upload my website to a certain path within a larger directory. My iweb site is not the main site. The main site though uses php and well iweb doesn't. Is it still possible to upload my iweb site to a path in this directory and it function correctly? If so, how would I go about doing this?

    Okay, so firstly, you CAN't have an iWeb account - iWeb is an application that is on your Mac and you can use it whatever if it is there - there is no account that is needed.
    You will not now be able to get a MobileMe account if you don't already have one, as they are not taking any more subscriptions as it will not be here from June next year, iCloud having replaced it.
    You say that you have a "url" or do you mean domain name from GoDaddy?  If you do, then to be able to upload a website you also need to purchase a hosting account from them.
    Not having a hosting account would be one very good reason why you would be getting the error messages' cannot connect to server' - this is because you have no server/host to connect to because you don't have a hosting account.
    Go to GoDaddy and purcahse a hosting account from them and you will then be able to upload your site.

  • How to cp a structure to a single directory?

    I want to copy the contents of a large directory structure to a single directory.  I'm trying to use the "cp -r" command, but it copies the directory structure to the target directory. 
    Is there a way to do this in a single command:
    cp /pictures/wedding/wed01.jpg /mypictures/
    cp /pictures/wedding/wed02.jpg /mypicutres/
    cp /pictures/party/party01.jpg /mypictures/
    cp /pictures/morning/morning01.jpg /mypictures/
    I actually want to copy *all* the jpg files in each different subdirectory to a single target directory.
    Any suggestions?
    thx!

    Hi whol.
    Use the 'find' command with backticks to create a list:
    cp `find /source-dir -name "pattern"` /target-dir
    For example, to copy all the .jpg files under the pictures directory to the mypictures directory:
    cp `find /pictures -name "*.jpg"` /mypictures
    Regards,
    Win

  • A basic questions on file paths

    hi everyone, just trying to get back into the revamping our workplace website, stripping out the old flash based site and implementing a nice smooth css controlled site.
    i've gone through the creating your first website tutorial by David Prowse and found it to be very informative but still leaves me with a number of questions. Is there an actual thread present to ask questions based on the materials presented in the 6part tutorials?
    a simple question on file paths:
    is. <link href="./styles/main.css" the same as
        <link href="styles/main.css" ?
    which one is better (foolproof) for uploading to a webspace and which format should be used for all filepath declarations (css, js, scripts etc)?
    Btw, what is the difference between
    styles/main.css
    /styles/main.css
    ./styles/main.css
    ../styles/main.css ?
    thanks for any help

    westwm wrote:
    is. <link href="./styles/main.css" the same as
        <link href="styles/main.css" ?
    which one is better (foolproof) for uploading to a webspace and which format should be used for all filepath declarations (css, js, scripts etc)?
    Btw, what is the difference between
    styles/main.css
    /styles/main.css
    ./styles/main.css
    ../styles/main.css ?
    thanks for any help
    Let me be the first to start here:
    1)
    is. <link href="./styles/main.css" the same as
        <link href="styles/main.css" ?
    No it is not the same.  The first goes to the root folder and looks for styles folder and then main.css file;  The second simply looks for the styles folder in the same folder as the html page in which this is defined.  so this is at the same level as the document.
    Which one is better?  It depends on your site definition and the best thing is to let DW decide how to link the file.  Dw is pretty good at getting things right such as this one.
    Is there an actual thread present to ask questions based on the materials presented in the 6part tutorials?
    I thought David's articles had a space below it to make comments and/or ask questions but I have not been spending time on DW forums recently because I have noticed that most answers here have duplicates or triplicates for most questions stating more or less the same thing so there isn't anything new here.
    I think I have covered almost everything asked in your question.
    Hope this help.

  • Absolute path of current directory?

    Hi,
    I finished up an assignment the other day. But I've been playing around with it to see how much
    extra junk, in addition to the requirements, I can add, all in one method(we haven't covered
    user defined methods yet). I added a cheezy console splash screen. A really cheezy help file
    system. Figured out how to add time and date stamps. And some code to allow the user to
    continue the program and generate multiple reports with unique filenames. I added some
    input validation, user has to enter the name of a database to sample. All the files are plain text.
    What I'm trying to do is, add a better validation system so the program doesn't terminate if the
    user enters a database name that isn't in the directory. All the files will be in the directory where
    the program resides, so that eliminates some headaches.
    I was thinking of doing it like this: when a user enters a name check to see if the name is on the list
    (I guess java is already doing this that why the error is generated)
    if not, output error message and print the valid list to standard out. Prompt user to re enter a
    valid name.
    I'm sure there are more sophistcated ways to do this but I'm trying to work with what I kinda know.
    So far I've managed to figure out how to list the files in the program's home directory. By
    using the dir's absolute path on my machine. But this wont work on another computer. I'm
    pretty sure I can figure out how to add a filter so only certain file types will be listed.
    Is there a way to have the program get the absolute path of the program's directory no
    matter what computer it is on??
    I could go from there pretty easily, I'm hoping.
    Thanks for any direction,
    bill

    ooops... That is not working quite right.What is not working and how?Actually I did get some good results.
    Here is the code I came up with over the last hour or so.
    String curDir = System.getProperty("user.dir");
             System.out.println(curDir);
              File dir = new File(curDir);
                  String[] children = dir.list();
                  if (children == null) {
                  } else {
                      for (int i=0; i<children.length; i++) {
                          String filename = children;
              if(filename.length()<20&&filename.charAt(0)!='.')
              System.out.println(filename);
    This seems to work OK. It identifies and stores the path
    of the directory where java was invoked. And prints to the console
    a listing of available files to choose from. I trying to figure out
    how to better filter the in/output to hide the .java and .class files.
    Tonight I'm really just having fun
    googling, cutting, pasting, modifing snippetts to see if I can make my
    computer do what I want it to. I'm very new at this, just my way of
    learning stuff out of the class room.
    Thanks again,
    if you have any tips, I sure would appreciate it.
    Bill

  • Question about blazeds turnkey, tomcat and directory structure

    hi. this question is pretty basic...been reading sujit reddy g's blog on installing/setting up blazeds.
    in one article he creates a samplewebapps directory in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\samplewebapps and copies the blazeds WEB-INF/lib into that directory and the configuration files in the flex folder across as well...http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/
    in another article on invoking java methods from flex he configures the remote-config.xml file directly in the blazeds\WEB-INF\flex folder....http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-fle x/
    wasn't sure why in the first example he copied the files and folders to the samplewebapps directory while in the second example he just configured the files within the blazeds directory...thanx...(i'm a newbie at server side development)

    I'll take a stab at it. The key thing to realize is the BlazeDS code is ADDED on
    to the appserver. E.g. for Tomcat/WebLogic/et al one adds the reference in the web.xml file in WEB-INF.
    So, what is that add-on?
    1. Executable files. These are jar files and typically stuck into WEB-INF/lib
    2. Configuration files. flex/services-config.xml is specified in web.xml. It refers to the other config files in WEB-INF/flex
    So, the config in web.xml tells Tomcat (and its forked commercial products) to load up the Flex jars and run some classes. By standard, the "run some classes" follows the servlet lifecycle and runs specific methods in the class when the servlet is loaded, called, destroyed. So, Flex jars have a class which implements the servlet interface.
    Incidentally, you may also see references to log4j, Spring, and other frameworks in the web.xml as well. They do the same sort of stuff. So, Tomcat does the passing of the HTTP packets and stages them into Java classes and the hooked in frameworks do add their own behaviours to the setup.
    HTH,
    TimJowers
    P.S> Also note in Flex when you setup the project properties for a Flex Project then you need to match up your URL and "context" to what you have on your server. In his exampe, the "samples" context may have already been setup so easier to use. What is a "context"? The idea is to have more than one webapp running on an appserver. In Tomcat, its basically just the subdirectory under "webapps". That directory name becomes part of the URL. E.g. webapps/samples -> http://localhost:8080/samples  or webapps/mytest -> http://localhost:8080/mytest

  • Question about blazeds turnkey installation and directory structure

    hi. this question is pretty basic...been reading sujit reddy g's blog on installing/setting up blazeds.
    in one article he creates a samplewebapps directory in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\samplewebapps and copies the blazeds WEB-INF/lib into that directory and the configuration files in the flex folder across as well...http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/
    in another article on invoking java methods from flex he configures the remote-config.xml file directly in the blazeds\WEB-INF\flex folder....http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-flex/
    wasn't sure why in the first example he copied the files and folders to the samplewebapps directory while in the second example he just configured the files within the blazeds directory...thanx...(i'm a newbie at server side development)

    There's really not much difference. In some cases, you might already have a web application you are using so you could just copy the contents of the blazeds web app into your existing web application.
    Application servers can host more than one web application and a Flex application that uses BlazeDS can be deployed on a different web app than the one where BlazeDS is running or a different server entirely so it really just depends how you want to set things up.
    Hope I'm not just making things more confusing for you. . .
    -Alex

  • How to make a structured set of folders in Automator

    HI guys,
    Hope you can help.
    I'm after quite a unique folder structure - I want to be able to build automatically from scratch every week (to save me doing it by hand.
    The structure should look like this (but probably a lot more):
    computer.CFB.001.Dave/Originals/
    computer.CFB.002.Chris/Originals/
    computer.CFB.003.Ann/Originals/
    computer.CFB.004.Paul/Originals/
    So the main folder has two changeable things, the 001 and the name afterwards, the rest of the structure is constant.
    At the moment, this is what I have (based on only 2 names):
    new folder
    new folder
    Ask for Finder items (allow multiple entries, and directory chosen)
    Rename Finder items (making sequential, using the numbers starting 001 etc)
    Ask for Finder items (allow multiple entries, and directory chosen)
    Rename Finder items (add text 'computer.CFB.' to beginning)
    So if I run that, I can get all the folders to show up and it works BUT I get extra duplicated folders inside those folders - I'm not sure why this is happening?
    Next step is that I need to individually add the names (chris, ann etc), so I want it add this to the end of the filename (but I would like a prompt so that I can write in each one - I don't see any other way around this apart from typing them in a prompt). If this can't be done, I'll just have to rename the folders by hand (but with over 100 people that could be hard work).
    Then lastly, how can I add an 'Originals' folder into each of those folders?
    Sorry for all the questions, this is all new for me. Any help would be great!

    Open the Script Editor in the /Applications/AppleScript/ folder and run:
    tell application "Finder"
    set the_path to folder "test" of desktop
    set A to ""
    repeat with B from 1 to 1
    if B < 100 then set A to "0" & B
    if B < 10 then set A to "00" & B
    set the_name to text returned of (display dialog "What name do you want for folder " & B & "?" default answer "")
    set the_string to (((quoted form of POSIX path of (the_path as alias)) as string) & "computer.CFB." & A & "." & the_name & "/Originals/") as string
    do shell script "mkdir -p " & the_string
    end repeat
    end tell
    The path in the second line can be changed as needed. Use colons to specify different path elements.
    (48710)

  • Test-path where a directory in the path is variable

    My company has a series of fax lines and associated file shares. Faxes are processed & then dropped off into these file shares. From that point a service runs about every 60 seconds to look for files in these directories to import into a database.
    If there is a problem with the import then the service moves the file to a "HOLD" folder & files remain there until human intervention.
    I am trying to create a script that will find the HOLD directory in each of these folders and look for the existence of files, then email a group of users alerting them if there are.
    So there are several things I'm trying to accomplish.
    1. Look for files in a path where a folder in the middle of the path is variable.
    2. Send and email that will inform the recipient that there are files in the HOLD folder(s) and tell them WHICH ones
    Here's what I am starting with but it isn't working as expected.  There are files in at least one of these.  I also thought to try using some kind of foreach loop but it's eluding me.  Probably because it's late in the day for me.
    $folder = get-content -Path "\\child.domain.com\netlogon\scripts\ps\numbers.txt"
    if(Test-Path -Path "\\Server\scan import\fax\$folder\Hold" -include *.pdf, *.tif, *.jpg) {write-host "Files exist at $folder"} Else {write-host "No files in the hold folders"}
    # When I wrote this script only God and I knew what I was doing. # Now, only God Knows!

    The numbers.txt includes a list of folder names, one per line. I did come up with the following and it's working, for my purposes, so I now need to figure out how to get the results into the body of a single email.
    $parent = "\\server\scan import\fax\"
    $folders = get-content -Path "\\child.domain.com\netlogon\scripts\ps\numbers.txt"
    Foreach ($folder in $folders)
    if(Test-Path -Path "$parent$folder\HOLD\*" -PathType leaf)
    write-host "Files exist at $parent$folder\Hold"
    Else
    write-host "$folder Clear"
    I'm really only using the Write-Host actions in place of the Send-MailMessage Cmdlet, at least I think that is the command I need.
    # When I wrote this script only God and I knew what I was doing. # Now, only God Knows!

  • Use UNC path from Active Directory to derive network home location

    Good Morning
    I am trying to get my Macbooks to conenct to a Windows Server 2003 home directory. I have followed the steps in the following article with no luck:
    http://docs.info.apple.com/article.html?path=serveradmin/10.4/en/c7od49.html
    I can bind to the Microsoft Active Directory with no problems and I can connect to the file share on the server that I want to make the network home location, but I can't get it to work automatically as I would expect it to.
    We will have hundreds of users connecting that will need their home folders redirected to the network folder location.
    Any help would be appreciated.
    Thanks

    I forgot to mention that before upgrading to 10.8.4 the login item below was present:
    Item: SMB://network path
    Kind: Unknown
    After the upgrade:
    Item: Unknown
    Kind: Unknown
    After restart it disappears and never returns (again, this only occurs for admins)

  • Some questions with install paths and reporting

    I have some questions that i would like to ask
    The first is regarding the installation path of the silverlight client when it is published,  where is it located, is there a way to customize your application so that the user can specify an install directory , or a way to update the web.config with
    the install directory....
    Second question is , in development I am able to create a report, with report viewer using the localhost address of the silverlight client  server side. but when i publish it, the address is no longer found. Is there another way I can go about doing
    a report of the data in my sliverlight client application ? if so can i get some suggestions , I do know about some of the 3rd party extensions but none of them that I know of are free and I do not have the means right now to get them....
    this is all for a 2- tier Desktop silverlight client application.
    any help would be appreciated.
    Thanks
    David.

    I wanted to know if i can TELL lightswitch application to install when im running it after it being publised . or where it is installed to after first run of the application.....
    as far as Reporting goes and as far as I know DEVEXPRESS no longer supports lightswitch so there is no way for me to get ahold of the xtra reports extension ... please update your knowledge base and offer another solution..
    HI David,
    Thanks for your response.
    From your description above, I think this issue is related to your deployment procedure, you can also customize your deployment path. For this issue, I'd like to suggest you to check it again, you can refer to this article. See:
    Deploy a Two-tier LightSwitch Application
    If you want to use report extension in lightswitch application, you can learn relevant topics about report extension in Lightswitch forum.
    Hope it helps you.Best regards,
    Angie
    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.
    Click
    HERE to participate the survey.

  • How do specify Class-Path in exploded directory deployment?

    Currently I have an app.ear(ejb.jar,lib.jar,web.war). In the MANIFEST file of
    ejb.jar I do Class-Path: lib.jar. Now I exploded the app.ear and the components
    into app(ejb,lib,web) directory structure, how do I write Class-Path? ../lib did
    not seem to work for me. Any suggestions?

    I got the answer at the EJb newsgroup. Instead of ../lib, use just lib.
    "Eric Ma" <[email protected]> wrote:
    >
    Currently I have an app.ear(ejb.jar,lib.jar,web.war). In the MANIFEST
    file of
    ejb.jar I do Class-Path: lib.jar. Now I exploded the app.ear and the
    components
    into app(ejb,lib,web) directory structure, how do I write Class-Path?
    ../lib did
    not seem to work for me. Any suggestions?

Maybe you are looking for