Copy File Path?

Is there any way to copy the file location path like how you can in Windows? ie, when you press "get info" under general info, it displays where the file is eg. /Users/bc/Desktop/file.doc
is there any way to copy this piece of text easily and paste in an email?

Sorry for the confusion. Well, for the life of me, I did not notice the incomplete posix path in the GetInfo window. Yeah, some movement. OS 10.3 GetInfo window lists the path with colons. OS 9? Hey, I just created a text file named my/new/file. I looks fine and opens fine in the Finder. In the other user interface:
% cat my/new/file
cat: my/new/file: No such file or directory
Yes, I know about the smoke and mirrors. But path separators allowed in one interface but not the other? Choose one and use it! The path drop down menu doesn't work for me either. Can I construct a posix path?
% cd /g5/g5drive/
cd: no such file or directory: /g5/g5drive/
I could go on but I'll stay on topic. My old friend the Finder needs an overhaul.

Similar Messages

  • Copy file path to clip board context menu

    I remember seeing somewhere, a contet menu add on, so when you right click a file, an option to copy the file's path to the clip board is available.
    anyone know where I can find/download this?
    thx!

    Is this what you're looking for (look at FilePathToClipCMPlugin on that page)?
    http://www.hsoi.com/hsoishop/software/
    charlie

  • Copying and Pasting file paths in iChat

    Hi all,
    Since upgrading some of our machines at the office to Snow Leopard 10.6.4 and iChat 5.0.3 we are having a strange issue that I hope someone has some insight into.
    When all of the machines at our office ran Leopard and iChat 4, we used to send linkable file paths to folders on our server to one another via iChat so we could avoid having to write "go to Jobs, then to Current, then Posted, and the file is in there."
    We would achieve this by opening up a firefox window, then dragging a folder from our server into the window. It would generate a filepath that looked like "file:///Volumes/Server/Jobs/New/transfer/" in the URL bar which could be copied and pasted into iChat and would appear as a linkable URL. Then we started using a program called Get File Path by Alpha Omega Software (http://alphaomega.software.free.fr/), a great drag and drop app which did the same thing with great results.
    On machines that run Snow Leopard 10.6.4 and iChat 5.0.3 neither of these tricks will work anymore. The message returns an alert saying that the message couldn't be delivered, and that an "AIM service error occurred."
    Does anyone know why this is happening? Has ichat changed the way it pastes text into message windows? These tricks were real timesavers, and it is annoying they are no longer working.
    As an aside, the port number in iChat is 5190 on all machines, those that work and those that don't. This probably has nothing to do with it, but it is a little extra info.
    Thanks in advance,
    Adrian

    Hi,
    I did test this (I got distracted from looking for the thread to post to it).
    I tested with A Google ID and a Jabber ID (one on Each computer) and could send the Text and it appeared as a Live link and showed where the file was.
    It did not matter which was sending (10.6.4 or 10.5.8)
    I tested with two AIM based Logins.
    As you have stated 10.6.4/iChat 5.0.3 will not send to 10.5.8/iChat 4.0.9
    10.5.8/iChat 4.0.9 can send to 10.6.4/iChat 5.0.3
    I double checked firewalls. (Both allowing iChat)
    I checked the router (allowing all ports on Local Traffic).
    I did find this in a Console Message (on the 10.6.4 computer) though:-
    Based on this info I tried deleting com.apple.ichatAgent.plist and starting iChatAgent (I used Force Quit in Activity Monitor and restarted iChat)
    This did not improve things.
    I have sent Feedback
    9:00 PM Monday; November 1, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Copy iTunes file path to Comments field?

    Since there is no built in way to display the file path of files in your iTunes library, can you copy the file paths to the "Comments" field?
    Teridon wrote an awesome script that will copy them into the "Description" field, however, this overwrites what you have in that field and is not desirable especially for podcasts.
    I attempted to adapt his vbs to write to track.Comments, but "Comments" is not a valid object?
    Any ideas?

    I haven't tested it, but I think if you use "track.Comment" instead of track.Description it will work. i.e. change this line:
    track.Description = FileList
    to this:
    track.Comment = FileList
    Of course, this will overwrite any existing Comment field.
    Oh, and the entire script (for putting the file path in the description) is here:
    http://www.pobox.com/~teridon/itunesscripts/itunespathdescription.vbs

  • Need to copy files to path that contains a wildcard!??!

    Afternoon,
    I am attempting to copy a set of files to multiple computers on the network (files are at a dfs link, no issue there).
    The destination path on each computer is either:
    "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
    OR
    \\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
    The paths both have a "." in them. It is called a "middle dot" I think. It is centered between the two wordsin the path...When I run test-path it can see the path. However when I attempt to copy files to it, I get the "illegal
    characters in path" error.
    Below is the script I am working to get right, I hope)..
    $file = "\\path\to\files\ITClientBuild\Specs2\specslas5\testcopy.txt"
    $outfile = "c:\temp\las6copy.csv"
    gc c:\temp\las6.txt | %{
    $computer = $_
    $ping = Test-Connection $computer -Count 2 -Quiet
    if ($ping) {
    $pathTest1 = Test-Path "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
    $pathTest2 = Test-Path "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
    if($pathTest1 -eq $true){
    # md -Force "\\$computer\c$\windows\temp\las5a"
    # cp -force "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS\las6cust.pbd" "\\$computer\c$\windows\temp\las5\*"
    cp -force $file "\\$computer\\c$\\Program Files\\AASHTOWare\\Trns·port Client-Server PES-LAS\\*"
    "$computer FILE PUSHED to PES-LAS dir" >> $outfile
    else {"$computer las6 PATH DOES NOT EXIST!!" >> $outfile }
    if ($pathTest2 -eq $true){
    # md -Force "\\$computer\c$\windows\temp\las5a"
    # cp -force "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS\las6cust.pbd" "\\$computer\c$\windows\temp\las5\*"
    cp -force $file "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS\*"
    "$computer FILE PUSHED to PES-LAS dir" >> $outfile
    else {"$computer PES-LAS PATH DOES NOT EXIST!!" >> $outfile }
    else {"$computer OFFLINE" >> $outfile }
    My end need is to:
    Create a folder on the destination workstations, copy the original file(s) to that folder, copy the newer file(s) to the paths indicated..I have had no issues previously with copying files via powershell. However this is my first time running up against
    this issue.
    Your assistance is greatly appreciated...(Note: I am fairly new at this...but learning all the time)
    Tony.
    

    Some reformatting of you file and removing a lot of the unnecessary and unused lines makes it easier to see where your mistakes are.  There are a few obvious ones.
    $file = "\\path\to\files\ITClientBuild\Specs2\specslas5\testcopy.txt"
    $outfile = "c:\temp\las6copy.csv"
    Get-Content c:\temp\las6.txt |
    ForEach-Object{
    $computer = $_
    if(Test-Connection $computer -Count 2 -Quiet){
    if(Test-Path "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"){
    Copy-Item -Path $file -Destination "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
    Out-File "$computer FILE PUSHED to PES-LAS dir" -FilePath $outfile -append
    }else{
    Out-File "$computer las6 PATH DOES NOT EXIST!!" -FilePath $outfile -Append
    if(Test-Path "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS")
    Copy-Item -Path $file -Destination "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
    Out-File "$computer FILE PUSHED to PES-LAS dir" >> $outfile
    }else{
    Out-File "$computer PES-LAS PATH DOES NOT EXIST!!" -FilePath $outfile -Append
    }else{
    Out-File "$computer OFFLINE" -FilePath $outfile -Append
    ¯\_(ツ)_/¯

  • Copy full file path+file name in Midnight Commander

    Hi!
    How can I copy a file's full path with the file name in Midnight Commander?
    If I press Ctrl+Alt+Enter it's shows this to me in the command line but I can't copy this route.
    If I mark a file with 'Insert' and than if I would like to paste this for example in Mousepad or any other text editor with Shift+Insert or Ctrl+V it isn't works.
    (Relatively newbie sitting here so if the answer is complicated please write a step-by-step instruction )

    Well,I did a lot of research on the internet and I found the best solution.
    - choose the file,press 'Ctrl' + 'Shift' + 'Enter'
    - after that you can see the full file path + the file name in the command line (bottom of the screen)
    - Select the text with 'Shift' + 'Mouse Left Click' (drag it across the whole command)
    - For copy the text, press 'Ctrl' + 'Insert'
    - For paste, press 'Shift' + 'Insert'
    This is still pretty damn slow,I wanted to do it with a single key combination while the file is selected but it looks impossible.
    But at the same time I have started to use Ranger file manager which is also runs from terminal,extremely fast,easy to use and if I press 'Ctrl' + 'Insert' on a file it is copies the full path with the name of the file itself. Just perfect.
    I won't mark the thread [SOLVED] because if anybody knows a better method for this in Midnight Commander (with a script or whatnot) maybe will write it down for us. I hope...

  • Copy and paste a file path?

    How do i copy and paste a file path?
    Thanks

    I assume there's probably a utility in macupdate.com that could probably do that.  A quick search on macupdate for "copy path" found a bunch.
    Alternatively you could create an automater service (finder contextual menu) to do it.
    Or just drag the finder item into the terminal window.  The path will appear and you can copy/paste that.

  • Finder Copy Progress Bar File Path Reminder/Record?

    Can someone please remind me if there is a way to see the actual file paths for what I am moving and where I am moving it to?
    I have two copies going on which are going to take an hour or more and I need to remind myself how far into the process of sorting I am.
    Basically the /folders/ are named rather generically and I am trying to make sure I can access as much as possible with respect to this.
    ALSO, after the copy has completed - is there a record with file paths of what I have just done, in case I don't catch it before the Progress Bar completes...?
    Thanks.

    In Finder->View->show Path Bar.

  • How do copy the file path of songs to their comments or description field?

    I'd like to be able to organize my library by file path.
    I read somewhere that Teridon had a script to do this but I could not find it on his scripts page.
    Please help

    Okay I did it!
    Here's the JScript for anyone who wants to organize by file path:
    var ITTrackKindFile = 1;
    var iTunesApp = WScript.CreateObject("iTunes.Application");
    var mainLibrary = iTunesApp.LibraryPlaylist;
    var tracks = mainLibrary.Tracks;
    var numTracks = tracks.Count;
    var i;
    while (numTracks != 0)
    var currTrack = tracks.Item(numTracks);
    // is this a file track?
    if (currTrack.Kind == ITTrackKindFile)
    currTrack.Comment = currTrack.Location;
    numTracks--;
    WScript.Echo("Location to comments done!");
    Beware it replaces anything you currently have in the comments field
    Message was edited by: Toelessfoot

  • Copy and paste file path into bridge

    I use bridge a lot! One of the most annoying things about bridge is that I can't paste a file path into bridge to browse to that file, on a network server, for example. I work at a graphics company, all our files are stored on servers with hundreds of folder levels, which makes it a huge pain to browse to manually.
    I'll usually get a file path link that i can quickly paste into windows explorer to either open the file or browse to the folder it's in. With bridge i have to manually click through to the network folder.
    This change would make a huge difference in usability for me.

    Paste your path into explorer then you can Right Click on the folder and select "Browse in Adobe Bridge CS5"
    Edit:-  you can paste the path directly into the top bar just click to the right of the path and it will allow you to paste your path in.

  • ITunes v10.6.1.7 "Copying files failed. The File name was invalid or too long."

    I'm trying to organize my music files using iTunes 10.6.1.7 and I keep getting the error message "Copying files failed. The File name was invalid or too long."
    I've got music folders by artist in both the iTunes Music folder and the iTunes Media/Music folder. When I add certain files by drag/drop they sometimes get lost and I don't want that to happen anymore. I used to just consolidate my music files using the File/Library/Organize Library option and that worked, however now when I do that, I get the error message.
    I'm a novice and the only online stuff I see is both confusing and refers to earlier versions of iTunes.
    My concern is that I have heard that people lose entire libraries of their music when they trry to fix things like this and I don't want that. If this is of any importance, I have several files called iTunes library and temp library. I have no idea what that all means but I'm scared to death of it.
    Also, I can't get to the "re-organize library" link at all. It won't let me.
    One thing that be of some interest is that when I pull up the properties of the music and media/music files they are marked "read only" I'm also afraid to touch that!
    Please help and please know that I am a dummy. Be kind and be clear. Step by step would be great, with images even better. Thanks.

    Perhaps nobody knows the answer? We're fellow users here answering questions in our free time when we think we've something useful to contribute.
    You can choose to *Consolidate selected tracks* with a right-click menu. Perhaps if you can identify a specific track that won't consolidate and examine the full path to the file & the path that iTunes would create when it consolidates the problem might become apparent. For example iTunes may not be able to move files if the source or destination path length exceeds 255 characters.
    tt2

  • Can no longer move or copy files between drives (not a newbie issue!)

    Copying and moving files between internal and external devices, and external to external devices is no longer working.
    *For the first time in my life, I get a "Circle with a Bar through it" when attempting to move or copy files.*
    This doesn't happen between the two internal drives at all (though I'm worried it might start). It happens between two HFS+J devices as well as HFS+J and FAT32 devices. I can delete files, create folders, and in some instances where things are acting funny, copy to, but not from the device. A noticed side effect that is now happening is that I can no longer move drive icons (CDs, DVDs, HDs) to their upper-right hand corner position on the desktop, if they didn't start there. They don't drop there, just staying where they originally sat (under a list of desktop shortcuts and files). It does not matter if the drives are USB or Firewire, and this never happened previous to about a month ago.
    I have done all the basic stuff -- verify/repair drives, reboot multiple times, mount & dismount, change connection ports, backed up-reformatted-and restored the smallest drive, fixed preferences (not at all relevant), Disk Warrior repair the devices, set all permissions to R/W, check all device related infos, researched on-line for a week... Nothing. I have even taken the devices to PCs, where they work perfectly, and as expected.
    This issue is apparently either a corruption, or a bug induced by Software Update, in the part of the system that handles files and file structures, or possibly the _USB and Firewire_ interfaces.
    I just need to know where all those relevant parts are in the system folders, so I can attempt to restore them from a backup previous to the last "Software Update," (to be sure. And to bring this one step closer to being solved).
    A system restore really is not an option, as that would require nearly two weeks of re-tweaking everything from the system to every piece of software included (updating the system about 10 times via software update, reinstalling 90% of the actual software packages... and then updating those multiple times, looking-up all the serials that get killed, etc.)
    I have to correct this fast, as we need to move the files from the work drives to the archive drives before we run out of room. So any help would be very appreciated... even if you only know where a few of the system components are located (it just might be one of those, causing the issue).
    ---TIA

    {The last link in this post is most relevant, except for your recent finding.}
    The reference was to the User permissions, per each; as when these
    become corrupted, the simple 'repair disk permissions' and other
    basic duties do not find an error with them. That is because there is
    nothing really wrong with them from that standpoint.
    Another odd error can happen if one is resizing partitions in an Intel
    based Mac, and also if one has or had a BootCamp partition and
    wanted to reclaim space. But not always. Thankfully, the only time
    I tried Windows on a Mac, the media install disc was corrupted so
    it just didn't happen. That was Virtual PC and Windows on PPC.
    Tiger brought with it the ability to non-destructively resize partitions.
    However, it was not thought to be successful in non-Intel based Macs.
    The discussion on that matter came up a few years ago, so someone
    has undoubtably tried that in a PPC and reported findings online.
    When file sharing between user-account created content runs amok,
    then the system(s) will not allow the content to be moved or shared.
    So, if any shared user-account created content (including drives
    initialized or handled without permissions ignored, clones wrong,
    etc) are not the problem, then how does one explain these wrong
    ful action circles-with-lines, or action disallowed warning symbols?
    There must be a simpler answer. Do you have cats which have
    access to your computers in the off-hours? They do keyboard.
    Some have been thought to have technical skills outside of the
    usual coy and cute play-acting people think they are limited to.
    I'm sticking to the cats theory for now; the time is 3:21AM here
    and I only am up to get a drink and look outside at +5°F. calm.
    Mac OS X 10.4 Help: I can't move or copy a file or folder
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh194.html
    • _Rearranging Files (and renaming them)_ InformIT: Mac OS X unleashed
    http://www.informit.com/library/content.aspx?b=MacOS_XUnleashed&seqNum=122
    It is good to have a backup for the backup; plus a backup Mac.
    Good luck & happy computing!
    { edited: was distracted }

  • ITunes copies files without the "copy files to Media folder" checked.

    I've never been a fan of iTunes. My dislike of its impositive ways is directly proportional to its version (10.1.1(4) currently), so I never allow it to do anything automatically for me. I really like it that way.
    In recent years, after a couple of experiences filled with much tribulation, I have never checked either "Keep iTunes folder media organised" nor "Copy files to iTunes media folder when adding to library" under its Preferences, whenever I have been forced to use this accursed application.
    But owning an iPod (a couple actually) makes it impossible to live a jovial iTunes-free lifestyle. So yes, I use it on occasion.
    Those occasions almost exclusively mean copying music and audio books to and from it. No videos, no Pictures, no nothing else.
    I'm using a 4th Generation iPod Touch.
    My iTunes library is not on my computer but on an external HD.
    Anything I drag and drop to the library comes from folders in that external HD.
    Now, the few audio books I own are not even inside my iTunes media folder. They are elsewhere in a folder of their own. But everything had worked O.K.ish so far.
    Today, while re-tagging some audio books I asked iTunes to show the file in Finder. And it did. It was indeed inside that external HD... BUT... on the iTunes media folder, not on the folder where I keep those audio books originally.
    I checked the iTunes "Preferences" to see if the Gremlins had changed anything. It was as it has always been (with all pertinent options unchecked).
    I checked the original folder to see if they had been moved. Nope, they were still there too.
    The versions are not the same, since all that re-tagging I'd been doing had of course affected the ones in the "wrong" folder (the one I did not assigned nor agreed to create).
    The music is fine (some of which comes from a folder similarly outside the iTunes media folder, although most comes from within), it's just the audio books.
    An event of note is that a few days ago, that external HD had a problem and the data had to be moved elsewhere, the HD re-formatted, and the info placed back into it once more. But the paths remain identical since the HD has the same name and the folders are where they once were. I've no idea if this has any effect on anything at all, but I thought to mention it.
    So this mystery is such. Any takers?
    The questions are: Why does this happen? How can I stop it from happening again (aside from not using iTunes :-D).
    It is not that big a problem since I have very few audio books thus the duplicate is not too large, but I'd like to know how to avoid it, if possible.
    Thanks in advance for any information on this.

    iTunes prefs -> Advanced. Uncheck *Copy files to iTunes music folder when adding to library*.
    Any reason you don't want them in the music folder? You could add them to iTunes and delete the from your documents folder.

  • How to copy file from global zone to non-global zone?

    Hi,
    I'm new in zone.
    I have installed a zone and I would like to install some programs.
    Could you please tell me how to copy downloaded file from internet to the new installed zone?
    Kind regards,
    Daniel

    I like to use zcp which came from BigAdmin I believe.
    #!/usr/bin/perl
    # zcp - copy a file from the global zone to a nonglobal zone. Solaris 10.
    # 10-Mar-2005, ver 0.50 (first release)
    # USAGE: zcp file1 zonename:file2
    # eg,
    # zcp /etc/syslog.conf workzone1:/tmp
    # Standard Disclaimer: This is freeware, use at your own risk.
    # 10-Mar-2005 Brendan Gregg Created this.
    $ENV{PATH} = "/usr/bin:/usr/sbin";
    $VERBOSE = 1;
    # Process arguments
    # check for arguments,
    if (@ARGV != 2) {
    die "USAGE: zcp file1 zonename:file2\n";
    # check source file exists,
    $srcpath = $ARGV[0];
    if (! -e $srcpath) {
    die "ERROR1: Can't find source file $srcpath\n";
    # check destination zone exists,
    ($destzone,$destpath) = split(/:/,$ARGV[1]);
    chomp(@Zones = `zoneadm list`);
    foreach $zone (@Zones) { $Zone{$zone} = 1; }
    unless ($Zone{$destzone}) {
    die "ERROR2: Can't find zone $destzone\n";
    # check if destination is a directory or filename,
    $dir = `zlogin -S $destzone '
    if [ -d "$destpath" ]; then echo 1; else echo 0; fi'`;
    if ($dir == 1) {
    $node = $srcpath;
    $node =~ s:.*/::;
    $destpath = "$destpath/$node";
    # Print message
    print "zcp from $srcpath, to zone $destzone, to file $destpath.\n" if $VERBOSE;
    # Copy File
    system("cat $srcpath | zlogin -S $destzone 'cat - > $destpath'");
    # Verify file copied
    $srcsize = -s $srcpath;
    $destinfo = `zlogin -S $destzone 'ls -l $destpath'`;
    @Fields = split(' ',$destinfo);
    $destsize = $Fields[4];
    if ($srcsize != $destsize) {
    print STDERR "ERROR3: Copy failed, size mismatch ".
    "($srcsize != $destsize)\n";
    } else {
    print "Copy successful ($destpath, $destsize bytes).\n" if $VERBOSE;
    }

  • How to copy file from  one location to another

    Hi,
    I am new to java, I tried the following code to move the file from one location to another
    public class CopyFiles {
    public String copy ( File source, File target)
    throws IOException {   
    FileChannel sourceChannel = null;
    FileChannel targetChannel =null;
    try {   
    sourceChannel =new FileInputStream(source).getChannel();
    targetChannel= new FileOutputStream(target).getChannel();
    targetChannel.transferFrom(sourceChannel, 0,
    sourceChannel.size());
    finally {   
    targetChannel.close();
    sourceChannel.close();
    return "Success";
    public static void main(String [] args) throws Exception{   
    File source = new File("C:\\users\\download.pdf");
    File destinationFile = new File("C:\\apple\\download.pdf");
    copy(source, destinationFile);
    The above code is working perfectly, but I Don't want to include the file name in destination file. i.e. File destinationFile=new File("C:\\apple"), and at the same time the pdf with same name has to get stored in the destination location, how can I achieve this.

    kameshb wrote:
    I Don't want to include the file name in destination file. i.e. File destinationFile=new File("C:\\apple"), and at the same time the pdf with same name has to get stored in the destination location, how can I achieve this.It's not totally clear what you're saying here, but what I think you mean is that you don't want to explicitly set the destination file name--you want to just give the copy the same name as the original. Yes?
    If that's the case, then break the original up into separate directory and file name portions, and then construct the destination path from the destination directory plus original file name. You can do that by manipulating the full path string, or by using the methods in java.io.File.

Maybe you are looking for

  • Crashing with Kernel Panics for no apparent reason - HELP!!

    Hello - new to this forum, and I hope someone can help me resolve a problem I've been recently having with my PowerMac G5. It all started when I installed some an additional 2GB of RAM (bought from Crucial, which is always very good and reliable) to

  • Total Crash.....

    So I came home last night to a Screen with just the turing sundial.  When I restarted the computer, it pulled up the screen asking me to restore my computer, re-install Lion, etc etc.  I tried to do a restore from Time Machine on my back up drive, bu

  • Using advanced math functions in plugins

    I have an application built in LabVIEW 8.5 that calls external VIs as PlugIns. Normally adding any subVIs of these PlugIns in the same directory as the plugin is located in (or a sub-directory of that) will enable the plugin to execute (I have severa

  • How to view open tabs on multiple I pads

    I Have 2 different I pads . I want to be able to see my open tabs from one iPad to the other.  What do I need to do to accomplish this?

  • I can't get firefox to launch I'm getting a java script application - bbyln is nt defined

    I can't get firefox to launch. I'm getting an error report: java script application - bbyln is not defined