How to get the uuid of file?

I seem to recall that although a file has a human friendly name in the finder (say dog.jpg) the OS gives it a less friendly code (i'm guessing a numerical or alphanumeric string of some sort) . I'm not sure whether it would be technically correct to call this a uuid or not. I was wondering whether it is possible to access that code either through the os or command line? Would changing the name of the file is the finder result in a subsequent alteration of the code? (presume not) cheers

use terminal command ls (LS) with the "-i" option,
example, at the terminal prompt:
ls -il /
(this will list files in the root directory by inode number
Betsy7:~ kj$ ls -il /
total 110870
2292919 drwxrwxr-x+ 68 root admin 2312 Dec 23 03:40 Applications
1052585 drwxrwxr-x@ 16 root admin 544 Dec 8 04:12 Developer
258138 drwxr-xr-x@ 3 root admin 102 Jul 9 20:31 Documents
2293019 drwxrwxr-t+ 69 root admin 2346 Dec 8 00:48 Library
131 -rw-rw-rw-@ 1 root admin 29492860 Jun 15 2007 NAVMac800QSFile
2373156 drwxr-xr-x@ 2 root wheel 68 Jun 23 2009 Network
86 lrwxr-xr-x 1 ray admin 13 Sep 10 16:11 Shared folder symlink -> /Users/Shared
2292843 drwxr-xr-x 6 root wheel 204 Dec 8 00:21 System
529407 drwxr-xr-x 7 root admin 238 Dec 7 01:03 Users
2318730 drwxrwxrwt@ 16 root admin 544 Dec 25 14:57 Volumes
610971 drwxrwxr-x@ 4 root admin 136 Nov 22 2008 apps on root
2316686 drwxr-xr-x@ 39 root wheel 1326 Dec 8 00:20 bin
611254 drwxr-xr-x@ 40 root wheel 1360 Nov 9 2006 bin (Mac OS 9)
132 -rw-r--r--@ 1 root admin 227 Jul 9 20:31 com.brother.ControlCenter.plist
2373158 drwxrwxr-t@ 2 root admin 68 Jun 23 2009 cores
328 dr-xr-xr-x 3 root wheel 4873 Dec 24 21:04 dev
2317398 lrwxr-xr-x@ 1 root wheel 11 Dec 6 20:36 etc -> private/etc
5 dr-xr-xr-x 3 root wheel 2 Dec 24 21:04 home
88 lrwxr-xr-x@ 1 root admin 12 Sep 10 16:11 mach -> /mach_kernel
89 lrwxr-xr-x@ 1 root wheel 11 Sep 10 16:11 mach (Mac OS 9) -> mach_kernel
2566165 -rw-r--r--@ 1 root wheel 18676624 Aug 1 00:49 mach_kernel
134 -rw-r--r--@ 1 root wheel 8553372 Oct 29 2006 mach_kernel (Mac OS 9)
3 dr-xr-xr-x 2 root wheel 1 Dec 24 21:04 net
611463 drwxrwxr-x@ 4 root wheel 136 Apr 24 2009 opt
2292825 drwxr-xr-x@ 6 root wheel 204 Dec 6 20:39 private
614465 drwxr-xr-x@ 3 root admin 102 Jun 28 21:16 public
2297124 drwxr-xr-x@ 67 root wheel 2278 Dec 8 00:20 sbin
614467 drwxr-xr-x@ 62 root wheel 2108 Nov 9 2006 sbin (Mac OS 9)
614749 drwxr-xr-x@ 13 root admin 442 Aug 28 06:43 sw
2317438 lrwxr-xr-x@ 1 root wheel 11 Dec 6 20:36 tmp -> private/tmp
2292914 drwxr-xr-x@ 14 root wheel 476 Dec 8 04:01 usr
Kj ♘

Similar Messages

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • How to get the number of files currently open?

    hi,
    does any one know how to get the number of files currently open in windows OS?
    e.g. lets say .txt files...
    any comment will be really appreciated.
    thanks

    Assuming that you don't want to actually do this from within Java code (which would obviously require native code), here's a utility that will give you a list of which file handles are opened by which processes (on Windows):
    http://www.sysinternals.com/ntw2k/freeware/handle.shtml
    - K

  • How to get the current executing file/itself absolute directory?

    hellooo,
              gentlemen/lady, how to get the current executing file/itself absolute directory?
              thanks
              

              Hello,
              you can get the real path information of the JSP through the servlet context:
              http://java.sun.com/products/servlet/2.2/javadoc/index.html
              javax.servlet
              Interface ServletContext
              Method getRealPath
              Christian Plenagl
              Developer Relations Engineer
              BEA Support
              [email protected] (alex mok) wrote:
              >hellooo,
              >
              >gentlemen/lady, how to get the current executing file/itself absolute
              >directory?
              >
              >thanks
              

  • [Win VC++ 6.0 ]How to get the number of files count in a folder using VC++ 6.0?

    Hi all,
    Can any one tell how to get the number of files(.EPS) count inside a folder when the folder path is specified in VC++ 6.0?
    Thanks in Advance.
    Regards
    myriaz

    I'm a little confused by the question, but it sounds like you're asking how to count the number of files with a particular extension in a given directory? That's not really an AI SDK question, but it's a fairly easy one to find if you google it. If you're trying to use Illustrator to do it, AI doesn't have a general purpose file API. It has a few functions to do some things that Illustrator needs, but I don't think enumerating directories is one of them.

  • How to get the size of file

    Hi
    I want to know the size of the file from Java. ie If i have 10 lines in that file each of 15 characters
    then 10 *2*10=200Bytes is the size. How will i get this?
    More over, if i am reading the 4 the line, how will get the info that I have read 3 lines =3*2*10= 60 bytes so far?
    Regards
    Sriram

    This is from the JavaDocs on java.io.File
    length
    public long length()
    Returns the length of the file denoted by this abstract pathname. The return value is unspecified if this pathname denotes a directory.
    Returns:
    The length, in bytes, of the file denoted by this abstract pathname, or 0L if the file does not exist
    Any of the read methods (except readLine()) on the many stream objects return the number of bytes read, simply accumulate these returns to know how many bytes have been read.
    Dave

  • How to get the list of files of floder

    hello,
    I am using Forms 6i , i want to get the list of file of the directory
    which function i have to use,
    thx.

    In this demo you will find an example
    http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
    Regards

  • How to get the read input file name in bpel process using File Adapter.

    Hi,
    I am reading a .txt file from configured directory using File Adapter.
    I had configured file adapter to read file with naming pattern “SalesOrder.*\.txt”.
    Now I had requirement to access the actual file name in bpel process eg: “SalesOrder123.txt”
    How can I get the file name in bpel process.
    Any help is appreciated.
    Vidya.

    1) create a variable of message type. Click on Browse Message type. Here you select Message Type-->Project WSDL Files -->fileAdapterInboundHeader-->Message Types-->Inboundheader_msg. Then click OK
    2)Next dbl Click on teh receive Activity which is receing your File from teh File Adapter. Go to the Adapter Tab. Click on Browse variable and select the variable that you had just created above.
    This would get the File name in the variable declared

  • How to get the list of file from application server

    Hi Expert.
    I want to get the file list from dicrectory in application server
    best regards.
    Alex

    Hi.
    Yes, You are right, i can get the file list by AL11.
    But i need get the list in ABAP program.
    So i need a function modul to get the list. If you has some sample code, it should be very nice.
    Best.
    Alex

  • How to get the Attributes of file ?

    Hi Guru,
    How to find of the Attributes of file in sap u2018 AL11u2019.
    The file attribute details need to show in the report.
    If any idea plz. Help me.
    Regards,
    Subash

    The attributes you can see from , go tofile part level in the directory. Place the cursor on file name and choose menu option
    Log file ->attributes.
    Edited by: Raja gurrala on Jul 31, 2009 1:16 PM

  • How to get the output .pdf file of a quiz to report to the quiz results analyzer on my internal server (mamp)

    I created a quiz.
    Created an internal server on my compute rising a MAMP.
    When I publish my quiz using the multi-file publishing options...
    I am able to use both the "HTML" and the "swf" output files to complete a quiz and reporting the results to the quiz results analyzer.
    However, I am unable to get the output .pdf field to reporting to the quiz results analyzer.
    Any help? Would this issue have to do with the Acrobat Professional setting? Captivate setting? My internal server setting? or output fuel placement?
    I tired to put the .pdf file in the same MAMP root folder location as my "internalserverreporting.php and internalserverread.php files.
    Thanks for the help.

    Hello Varun,
    You cqan submit the report as a JOB and export the out put to memory, once the job is complete you can read the list to display the output.
    Cheers,
    Mano
    Cut & Paste form SAP help.
    Submit report ....
    EXPORTING LIST TO MEMORY
    Does not display the output list of the called report, but saves it in ABAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. In addition, you must not assign a function code to the ENTER key in the current GUI status. The saved list is read from the SAP memory using the function module 'LIST_FROM_MEMORY' and can then be saved to the database using EXPORT, for example. You can process this list further with the function modules 'WRITE_LIST', 'DISPLAY_LIST' ... of the function group "SLST".

  • How to get the  bursting control file in xml publisher

    Hi All
    I am using oracle Apps r12 and Bi publisher 10g.
    I have followed these steps for Xml Bursting reports
    http://apps2fusion.com/apps/21-technical/251-xmlp-concurrent-program-revisited-with-bursting.
    I have created Data definition and now i need to attach the Bursting Control file.
    Whether the system will generate Burst control file after creating data definition or we need to create a control file.
    Thanks & Regards
    Srikkanth.M

    You need to create a control file and upload it.
    You can also refer this blog for detailed steps http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html

  • CRM 5.0 ear files - How to get the b2c.ear file for custom development

    Hi all,
    We are using CRM 5.0 e-commerce (B2C). We are looking to import the b2c.ear file into the NW dev studio. We do not seem to be able to find the file.
    Alexandre
    PS: Do we need to have the NWDI in order to do custom ISA (b2c) development ?

    Hi
    Unlike in 4.0 we wont have EAR file directly to import. First Basis people need to setup NWDI where in they import all packages. Once it is ready, in NWDS(dev env) we need to import configuration which will internally impors Development Components and their dependencies. Once you have everything in locla machine, we can create project make EAR FILE...
    i hope this answers your quesiton.
    regards,
    Laxman

  • How to get the active document file name using illustrator CS2 plugin code?

    I wanna take file name from active document using illustrator plugin CS2. Plz anybody help me..
    Thanks in advance..

    AIDocumentSuite::GetDocumentFileSpecification() should get you that information. Note that it will only work properly if you've already saved the document (or opened it from a file). I'm not sure what the result looks like if you're calling that on a new, unsaved file.

  • How to get the name of file was read from file adapter ?

    Hello!
    I make a pooling into one directory to read all *.fat files in this directory, and I want the name of this file
    is it possible ?
    God bless all!

    it is mentioned in the sample code.. look at the pdf guide inthe sample code document for file adapter.
    you need to define a variable of message type of the file adapter inbound header message type and assign the variable to the apapters tab in the receive activity..
    the variable will have file name now

Maybe you are looking for

  • How can i view my home security with a basic phone

    I have a basic lg phone thru verizon.  can i set this phone up so i can view my home security while i am away

  • Please Read , my mic isnt working (creative soundblaster live! 24b

    Just now i installed my sound blaster card and installed the cd that came with it , i dont hear any sound and my mic is not working i have unmuted the mic in sourrend mixer , but still nothing. Also im using a headset (planatronics audio .90's). i ha

  • Re: Different format for email PO

    We are currently sending PO as PDF to vendors. Some vendors are requesting that we send the data in text format to them. we are sending PO thru INT (communication type). However, it is linked to PDF format for internet under "Supported Address type".

  • How work Authorization Group in cv02n ?

    Dear Gurus i would like to know how i can use the Authorization Group in cv02n? Is possible use this objcet in order to enable the some user to change document data ? Thanks a lot Daniele

  • How to create a textured background

    Hi, I am very new to Java3D and I need help on how to create a textured background instead of using plain colors. I want to use a jpeg file for the background. Could anyone tell me a sample algorithm that will load this jpeg file and then set it up a