Indexing external files (XML) - problem!

Hi there,
I have some difficulties to get Intermedia index my external xml-files - indeed, the query does not work properly:
create table dummytable
(id number primary key,
docs varchar2(2000));
insert into dummytable values
(111,'book1.xml');
insert into dummytable values
(112,'book2.xml');
begin
ctx_ddl.drop_preference('COMMON_DIR');
ctx_ddl.create_preference
('COMMON_DIR','FILE_DATASTORE');
ctx_ddl.set_attribute
('COMMON_DIR','PATH','r:\mydocs');
ctx_ddl.create_section_group
('dummy_sections', 'XML_SECTION_GROUP');
ctx_ddl.add_zone_section
('dummy_sections', 'titlesec', 'Title');
ctx_ddl.add_zone_section
('dummy_sections', 'authorsec', 'Author');
ctx_ddl.create_preference
('dummy_basic_lexer','basic_lexer');
ctx_ddl.set_attribute
('dummy_basic_lexer','index_text','true');
ctx_ddl.set_attribute
('dummy_basic_lexer','index_themes','false');
end;
create index dummyindex on dummytable(docs)
indextype is ctxsys.context
parameters ('datastore COMMON_DIR
lexer dummy_basic_lexer
SECTION GROUP dummy_sections');
select id from dummytable where contains
(docs,'LeCarre WITHIN authorsec')>0;
This example is taken out of "Oracle XML Handbook".
book1.xml:
<Book>
<Id>4</Id>
<Author>John LeCarre</Author>
<Title>The Night Manager</Title>
</Book>
Although the select statement should print out '111', it does not?!?
A query for 'LeCarre' (without authorsec) is successful!
Does anybody can help me?
Thanks a lot in advance!!
Achim

See "2. Reading a file" in How To : Read and Write Office 2003 Excel XML Files | Odie's Oracle Blog
You can use the external table (or SQL*Loader) to bulk load all files at once in a binary XMLType table, and then using XMLTable to query the content.
There's another way I've been exploring recently, involving the external table preprocessor and XSLT, but it only performs well in the latest 12.1 release.
You can read more here if interested : XMLTABLE vs. External XSLT preprocessor | Odie's Oracle Blog
But for your current requirement, an XMLTable query as described in the first link should be just fine.

Similar Messages

  • Help with delivering dynamic text through an external file, through XML?

    I'm struggling to find the best way to deliver dynamic text
    from an external file, through XML, to a Flash file.
    I use small Flash pieces to deliver multiple sets of content
    through a single .swf file. An example is here:
    http://www.esi-intl.com/public/government/federal.asp
    In the .swf file at the bottom, I'm using a three-scene .fla
    file. I'm putting the actionScript in the Actions layer atop each
    frame. Example:
    stop ();
    loadVarsText = new LoadVars();
    loadVarsText.load("fedNews.txt");
    //assign a function which fires when the data is loaded:
    loadVarsText.onLoad = function(success) {
    if (success) {
    trace("done loading");
    //Now that we know the data is loaded,
    //set the text content of the Text Field
    //with the instance name "scroller" equal to the
    //contents of the variable
    scroller.html=true;
    scroller.htmlText = this.var1;
    } else {
    trace("not loaded");
    In that .txt file, I'm putting the information like this:
    var1=<font face="tahoma,verdana,sans-serif" size="11px"
    color="#000000"><b><a href='
    http://www.esi-intl.com/public/classroomtraining/dau.asp'>DAU
    Grants ESI Course CON353
    Equivalency</a></b><br>Advanced Business Solution
    in Contracting (CON 353) is an equivalency for DAU's CON 3535
    course, Advanced Business Solutions for Mission Support. <a
    href='
    http://www.esi-intl.com/public/classroomtraining/dau.asp'><U><font
    color="#996633">Continue</font></U></a></font>
    So much of this is pick-ups from what I've researched in
    Google. I'm looking for a way I can feel more confident in my code,
    and also have that code follow CSS.
    Lastly, I recognize the problems in XML with using single
    quotes / double quotes, and the & symbol. This is one of my
    largest time sucks, and I'd like to find a better way to do this.
    Thank you

    Hi,
    Did you ever find a resolution to this? I'm having a similar
    issue that I can't seem to get multiline dynamic text working in
    CS3.
    The font is embedded but it just displays the first line, and
    then a blank. I'm sure this worked fine in Flash MX.
    Cheers, Ant

  • Strange problem displaying external files (css includes)

    Hope somebody can help me with this. First of all, I'm running mac os x 10.4.11 using dreamweaver 8.0.2.
    Just recently i've been unable to display any external files (namingly my css; attached as includes) when I open a local document. Tried to delete my "site cache" as well as re-creating the site prefs and made sure "Display External Files" is checked under COMMANDS. Still nothing. Anyone have a idea it just all of a sudden stopped displaying all external fles???

    Peter,
    I tried testing the RSS feed using a FeedReader, and it works with that. But, when I try feed the same URL ( http://rss.cnn.com/rss/cnn_topstories.rss ) as the XML source in the Omniportlet, I get the following error message:
    Error
    Failed to open specified URL. Check the following: is the URL is active; is there a valid proxy setting or, if HTTP authentication is required, check user name and password. [http://rss.cnn.com/rss/cnn_topstories.rss]
    Here is how the proxy is defined in the Provider.xml file:
    <proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
    <httpProxyHost>www-proxy.us.oracle.com</httpProxyHost>
    <httpProxyPort>80</httpProxyPort>
    <proxyUser>my Oracle Single-SignOn username</proxyUser>
    <proxyPassword>my Oracle Single-signOn pwd</proxyPassword>
    </proxyInfo>
    I am on the Oracle Intranet. So, please let me know how I could reach you offline, if you think that will make things easier to resolve this problem.
    I appreciate your help.
    Thanks,
    Kalyan

  • Reading the Blob and writing it to an external file in an xml tree format

    Hi,
    We have a table by name clarity_response_log and content of the column(Response_file) is BLOB and we have xml file or xml content in that column. Most probably the column or table may be having more than 5 records and hence we need to read the corresponding blob content and write to an external file.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
      DATE_UPDATED   VARCHAR2(20 BYTE)              DEFAULT SYSDATE
    )The xml content in the insert statement is very small because of some reason and cannot be made public and indeed we have a very big xml file stored in the BLOB column or Response_File column
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (5, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (6, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (7, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (8, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (9, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');THe corresponding proc for reading the data and writing the data to an external file goes something like this
    SET serveroutput ON
    DECLARE
       vstart     NUMBER             := 1;
       bytelen    NUMBER             := 32000;
       len        NUMBER;
       my_vr      RAW (32000);
       x          NUMBER;
       l_output   UTL_FILE.FILE_TYPE;
    BEGIN
    -- define output directory
       l_output :=
          UTL_FILE.FOPEN ('CWFSTORE_RESPONCE_XML', 'extract500.txt', 'wb', 32760);
       vstart := 1;
       bytelen := 32000;
    ---get the Blob locator
       FOR rec IN (SELECT response_file vblob
                     FROM clarity_response_log
                    WHERE TRUNC (date_crated) = TRUNC (SYSDATE - 1))
       LOOP
    --get length of the blob
    len := DBMS_LOB.getlength (rec.vblob);
          DBMS_OUTPUT.PUT_LINE (len);
          x := len;
    ---- If small enough for a single write
    IF len < 32760
          THEN
             UTL_FILE.put_raw (l_output, rec.vblob);
             UTL_FILE.FFLUSH (l_output);
          ELSE  
    -------- write in pieces
             vstart := 1;
             WHILE vstart < len AND bytelen > 0
             LOOP
                DBMS_LOB.READ (rec.vblob, bytelen, vstart, my_vr);
                UTL_FILE.put_raw (l_output, my_vr);
                UTL_FILE.FFLUSH (l_output);
    ---------------- set the start position for the next cut
                vstart := vstart + bytelen;
    ---------- set the end position if less than 32000 bytes
                x := x - bytelen;
                IF x < 32000
                THEN
                   bytelen := x;
                END IF;
                UTL_FILE.NEW_LINE (l_output);
             END LOOP;
    ----------------- --- UTL_FILE.NEW_LINE(l_output);
          END IF;
       END LOOP;
       UTL_FILE.FCLOSE (l_output);
    END;The above code works well and all the records or xml contents are being written simultaneously adjacent to each other but we each records must be written to a new line or there must be a line gap or a blank line between any two records
    the code which I get is as follow all all xml data comes on a single line
    <?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7369</empno><ename>James</ename><job>Manager</job><salary>1000</salary></emp><?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7370</empno><ename>charles</ename><job>President</job><salary>500</salary></emp>But the code written to an external file has to be something like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
      <empno>7369</empno>
      <ename>James</ename>
      <job>Manager</job>
      <salary>1000</salary>
    </emp>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
    <empno>7370</empno>
    <ename>charles</ename>
    <job>President</job>
    <salary>500</salary>
    </emp>Please advice

    What was wrong with the previous answers given on your other thread:
    Export Blob data to text file(-29285-ORA-29285: file write error)
    If there's a continuing issue, stay with the same thread, don't just ask the same question again and again, it's really Pi**es people off and causes confusion as not everyone will be familiar with what answers you've already had. You're just wasting people's time by doing that.
    As already mentioned before, convert your BLOB to a CLOB and then to XMLTYPE where it can be treated as XML and written out to file in a variety of ways including the way I showed you on the other thread.
    You really seem to be struggling to get the worst possible way to work.

  • Problem writing external file to externally mounted disk in Windows

    Folks,
    I've got a puzzling problem with a simple OWB mapping where I'm dumping the contents of a table to an external file.
    Versions are OWB v 11.2.0.2 64-bits on Oracle RDBMS 11.2.0.2 Windows 2007 64-bits Enterprise Server.
    When the external files module is hooked up to a location that points to a local disk and directory on the OWB-server, everything works fine - files are created and written.
    When the external files module is hooked up to a location that points to a mounted disk on another Windows 2007 64-bits Enterprise Server, I get +"Invalid Path for target file, check if connector is deployed correctly".+
    The "File System Location Path" in OWB is set to "N:" (no slashes either way). "Test Connection" reports OK.
    I've given both the Oracle os-user and "Everyone" (for good measure) all rights on the mounted disk, and I can see that the generated package code is using the correct Directory, and the Directory Path is the correct one on the server. The mounted disk (N:) should appear as a local disk to Oracle as far as I can see. I'm able to create and delete files on the disk using command line on the OWB/DB-server.
    I'm scratching my head on this one....

    then mapped that share as a network drive (N:) on server A (the OWB/DB-server)I think that problem was with different accounts used for run Oracle database (usually database instance run under SYSTEM account) and which you used to map share (it was interactive session). Even when you made this map persistent (enable "Reconnect at logon" option during mapping) you don't grant access to this drive to other accounts (including SYSTEM ) - this drive will not be visible to other users.
    I think it is possible to create "persistent" network drive mapping for Oracle database context with specification non-SYSTEM account (domain or server local) for running Oracle database instance (and Oracle Listener service).
    Also it seems there is a workaround to access mapped network drive under SYSTEM account:
    http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service
    Regards,
    Oleg

  • Problem in displaying topics from external files

    Hello,
    I have a set of Help projects created using Robohelp classic
    7.00.139 by Blue sky Software Corp. There is a Master project and
    sub projects linked together using “.cnt” files.
    Now I want to move to HTML Help format (".chm")
    Using Adobe Robohelp 6 for word, I convert all the help
    projects to .CHM FILES using Batch generate option in Adobe
    Robohelp 6 for word. I put all the “.chm” files in a
    single folder of my application. But now the links from my MASTER
    projects to the sub projects are not working.
    When an external topic is selected from the master it points
    correctly to the topic title in TOC, corresponding to the external
    sub project but the topic from the selected external file is not
    displayed there.
    What could be the problem? Are there any settings to be made?
    Best regards
    VIPL

    hi,
    when you are creating the key figure info object. there is one tab called additional properties on that select decimal places as you want. activate it. and the reporting. check it out.
    if helpful provide points
    regards
    harikrishna N

  • Problem in create index on file system repository

    I want to create an index on file system repository,but have some problem. 
    1) create a windows filesystem repository
    2) I can found the repository entry in KM content
    3) go into "index administration" and create index,but I can not found the entry when I pressed "add" button on datasources page

    hello Karsten
    thanks for your consideration.
    After create a Windows file system Repository,I create the index as the fowllowing step.
    1) go to the page System Administration=>Knowledge Managment=>Index Administration and click Create button for creating index, then a form appeared.
    2) fill in the for specified value, then press Create Index button to create index
    3) click on DataSource link, in the Datasource Tab, click the Add button, then I could see all of folders on the screen( such as documents,calendar,etc), but I can not found the Windows File system Entry that just I created.
    I can not create a index for the Windows File System
    what is the wrong with it?
    thanks

  • SoundMAX driver reload issue - External file required by 7ka114ww_2_.xml ?

    MIGR-67816 has 2 exe's for download. The SoundMAX driver/app install and a 2nd exe that says it is required by 7ka114ww_2_.xml  - But the driver install does not ask for the "external" file at any point.
    How is the 2nd file used? It doesn't appear to do anything when I run it. Where does it need to be copied to for the xml file to reference it?
    Running WinXP SP2 but the driver installer is failing somewhere. I reboot after loading it and the driver errors out saying it failed to load on boot.
    I tried upgrading to SP3 with no luck as well.
    Thanks!
    Phil
    http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67816
    7ka114ww_inscmd.exe
    24,576
    External file required by 7ka114ww_2_.xml

    Hello philhop, welcome to Lenovo´s forum!
    Please tell us the exact type, not S/N, number.
    That´ll help us to help you.
    Andreas
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

  • Problems deleting a string from an external file.

    hi!
    I am working on a program but am having problems deleting a string of information from an external file. The code I have managed to do only seems to be deleting the surname. The rest of the string remains and the Surname from the string bellow the one that should have been deleted moves to where the surname that was just deleated was.
    this is the code snippet that should be deleting the string:
              System.out.print("Please enter the last name of the contact: ");
              last_name = dataInput.next();
              int z = 0;
              for (int i=0; i < number_of_records; i++)
                        if ((last_name.compareTo(lastName)) < i && (last_name.compareTo(lastName[i]) > i))
                                  z = i;
              for (int i = z; i < number_of_records; i++)
                        lastName[i] = lastName[i+1];
    Anyone got any ideas why its not deleting the whole string?
    the extrenal file is set out like:
    surname,,first name,,phone number

    I don't think you have given enough information to answer this question completely; however, here is my guess:
    The code that appears to be doing the "deleting"
    for (int i = z; i < number_of_records; i++)
        lastName[i] = lastName[i+1];
    }is only acting upon the lastName array.

  • Open file(including external file) problem on Lion

    I have a problem with AppleScript on Lion (OS 10.7) and cannot know what to do...
    I'd like to open an alias file which has some external files. (For example, adobe illustrator's .ai file with some .png or Logic Pro file with audio files) But I cannot do it, it was working perfectoly on Mac OS 10.6. It seems file system had changed on Lion....??
    Opening normal file on Lion >> it works.
    tell application "Finder"
      activate
              open file "test.rtf" of folder "scriptTest" of folder "Desktop" of home
    end tell
    Opening an alias of normal file on Lion >> it works.
    tell application "Finder"
      activate
      open file "testAlias" of folder "scriptTest" of folder "Desktop" of home
    end tell
    Opening an file with external files on Lion >> it works.
    tell application "Finder"
      activate
      open file "testWithImagefiles.ai" of folder "scriptTest" of folder "Desktop" of home
    end tell
    Opening an alias file with external files >> it works on 10.6 but NOT on Lion, just open the window ...
    tell application "Finder"
      activate
      open file "testWithImagefiles.ai" of folder "scriptTest" of folder "Desktop" of home
    end tell
    Is there any idea? 

    I'm not sure what the problem here is - your statement that it "just opens the window" doesn't mean much.  opens what window?  a FInder window? an new illustrator window? a window in your living room? (the last would be very cool, mind you...)
    at any rate, I think the problem is in some confusion over the word 'alias'.  In applescript, alias just means any file system referent: e.g. alias "HD:Users:yourname" is a path specification for your home folder.  file system objects that point to other file system objects are referred to as alias files.  so try one of these two versions instead:
      -- using alias file directly
              open alias file "testWithImagefilesAlias" of folder "scriptTest" of folder "Desktop" of home
      -- resolving alias file first
              open original item of (alias file "testWithImagefilesAlias" of folder "scriptTest" of folder "Desktop" of home)

  • Problem in loading an external file with unicode name

    Hi,
    I am working on a project which involves loading of an
    external file with unicode name for ex:
    "插入音乐.mp3
    ,插入音乐.jpg". These unicode files are
    loaded successfully when I play/publish the movie with flash player
    alone.
    But when the movie is embedded in to HTML file, it is failing
    to load files with unicode name. this works fine with English name.
    is it a bug? if not pls help.. on this issue
    Thx

    what is your code? so we can get clear picture.

  • Problems importing a JavaScript (.js) external file

    Hello everyone,
    Within RoboHelp, I was able to write a JavaScript function for a link that asks our customer if a topic was helpful.  The code basically populates the topic name in the subject line in the e-mail to prevent us from entering the topic name for each topic.  Basic stuff.  Anyway, if I put the code in the topic itself and call the function, it works beautifully.  But if I reference an external file with the traditional reference tag, I have no luck and an "object not found" error message displays, which tells me that it cannot locate the .js file -- it is in my project folder.  No dice.
    Any thoughts on this?  Has anyone experienced this before?  I am using RoboHelp 7.

    Hi,
    In the top of your HTML file stands an empty function: <script language=JavaScript>breadcrumbs()</script>. This is causing the error in your CHM. Remove this, or create a valid function.
    Your script works fine in both CHM and WebHelp, but only the CHM gives an error message because of the empty function.
    Greet,
    Willam

  • How to refresh the content of an external file

    Hi guys.
    I need to use an external file, no matter the extension(txt .xls .xml .mdb .csv) in the oracle BI rpd.
    I Use this file like a center table in my star schema and this file need to refresh frequently.
    How i can see, dynamically, the changes in the file without restart the services?I've tried by Answer to see all the record in the file, but if i change the file content and after, by answer, try to see the content.... it's the same as first!
    I can do something to overcome this problem? or i have to use external table??
    Thanks in advance.
    Best reguards

    It seems to me that you are trying to reinvent the wheel here. Having the BI Server load a 100,000 rows file is nto a good idea. The BI Server is not an ETL tool. While I could see why you may want to refresh the file frequently a better process would be to load it using standard ETL tools, create indexes etc and the move it to current table for OBIEE to see. You can use the OBIEE's Event Polling to clear the cache. Another simpler option if you are using an Oracle database is to use external tables. External tables allow you to define a table in an Oracle database that it's source is a text file. Google it and you will plenty of samples.

  • Need how to get the data from the external file in eCatt

    Hi ,
      Could any body suggest how to get the values from the external file(Excel,CSV file,Text file) and pass it as varaiable in ecatt Test script.
    Problem: Need to execute FK01-Vendor creation Transaction with multiple set of data .As per my understanding we could achive through Variants in Testdata set in eCatt .
    But is there any way to store the data in excell file and get the data and pass it to FK01 Test scripts
    Appreciate response on this

    Hi
    See the links they may be useful
    check these link,
    eCATT- An Introduction
    /people/sumeet.kaul/blog/2005/07/26/ecatt-an-introduction
    Creating Test Scripts
    /people/sumeet.kaul/blog/2005/08/10/ecatt-creating-test-scripts
    eCATT Logs
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    eCATT Scripts Creation – TCD Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    Creation of Test Data Container
    /people/sumeet.kaul/blog/2005/08/24/ecatt-creation-of-test-data-container
    eCATT Scripts Creation - SAPGUI Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    Integrating ECATT & MERCURY QTP Part -1
    /people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1
    Using eCatt to Test Web Dynpro ABAP
    /people/thomas.jung/blog/2006/03/21/using-ecatt-to-test-web-dynpro-abap
    and
    -command reference
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/3c333b40389c46e10000000a114084/content.htm
    /people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
    http://prasadbabu.blogspot.com
    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=test_tool_integration_for_sap_e-catt.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    http://www.erpgenie.com/ecatt/index.htm
    hope this helps.
    Reward points for useful Answers
    Regards
    Anji

  • [SOLVED]Index of files in a directory

    I've tried creating an index of files in, f.e., my movies directory but I can't seem to get it to work properly.  The command I've been using was
    find . -iname '*' > ./FILES
    which generates the following list:
    ./Inglourious Basterds.mp4
    ./Inspector Clouseau.avi
    ./James Bond A View to a Kill.mp4
    ./James Bond Casino Royale.mkv
    ./James Bond Diamonds Are Forever.mp4
    ./James Bond Die Another Day.mkv
    ./James Bond Dr. No.mkv
    ./James Bond For Your Eyes Only.mkv
    ./James Bond From Russia with Love.mkv
    ./James Bond Goldfinger.mkv
    ./James Bond License to Kill.mkv
    ./Judge Dredd.mkv
    ./Kick Ass.mkv
    ./Kill Bill Volume 1.mkv
    ./Kill Bill Volume 2.mkv
    ./Mallrats.m2ts
    ./Man On The Moon.m4v
    ./Marx Brothers A Night at the Opera.avi
    ./Marx Brothers A Night in Casablanca.avi
    ./Marx Brothers Animal Crackers.avi
    ./Rambo Extended Cut.mkv
    ./Rambo First 3.mkv
    ./Rambo First Blood Part 1.mkv
    ./Rambo First Blood Part 2.mkv
    ./Ratatouille.mkv
    ./Red Dawn (1984).mkv
    ./Repo the Genetic Opera.mkv
    ./Resevoir Dogs.mp4
    ./Blazing Saddles 720p.mkv
    ./Braveheart.mp4
    ./Bubba Ho-Tep.mkv
    ./Burn After Reading.mkv
    ./Caddyshack.mkv
    ./Chasing Amy.mkv
    ./Clerks 2.mkv
    ./Corpse Bride.mkv
    ./Curse of the Pink Panther.avi
    ./Despicable Me.avi
    ./Die Hard 1.mkv
    ./Die Hard 2 Die Harder.mkv
    ./Die Hard 3 Die Hard With a Vengence.mkv
    ./Die Hard 4 Live Free or Die Hard.mkv
    ./The Mummy Returns.mp4
    ./The Mummy Tomb of the Dragon Emperor.mp4
    ./The Mummy.mp4
    ./The Nightmare Before Christmas.mkv
    ./The Pink Panther (1963).mp4
    ./The Pink Panther Strikes Again.mp4
    ./The Producers.avi
    ./The Shining.m4v
    ./The Troll Hunter.mkv
    ./The.Godfather.III.1990.BluRay.1080p.DTS.x264.dxva-EuReKA.mkv
    ./2001 a Space Odyssey.mkv
    ./300.mkv
    ./A Bug's Life.mkv
    ./A Clockwork Orange.mkv
    ./A Shot in the Dark.mp4
    ./Airplane II The Sequel.avi
    ./Airplane.mkv
    ./James Bond Moonraker.mkv
    ./James Bond Octopussy.mp4
    ./James Bond On Her Majesty's Secret Service.mp4
    ./James Bond Quantum of Solace.mkv
    ./James Bond The Living Daylights.mp4
    ./James Bond The Man With The Golden Gun.mkv
    ./James Bond The Spy Who Loved Me.mkv
    ./James Bond The World Is Not Enough.mkv
    ./James Bond Thunderball.mkv
    ./James Bond Tomorrow Never Dies.mkv
    ./James Bond You Only Live Twice.mp4
    ./Jay and Silent Bob Strike Back.m2ts
    ./Alice in Wonderland.mkv
    ./American Psycho.mkv
    ./Annie Hall.avi
    ./Apocalypse Now {1979}.mp4
    ./Back to the Future 1.mp4
    ./Back to the Future 2.mp4
    ./Back to the Future 3.mp4
    ./Bambi.mkv
    ./Beauty And The Beast.mkv
    ./Beetlejuice.mkv
    ./Beverly Hills Cop 2.avi
    ./Ferris Bueller's Day Off.mkv
    ./Fiddler on the Roof.mkv
    ./Fight Club.mkv
    ./file-list
    ./FILES
    ./Finding Nemo.mkv
    ./Full Metal Jacket.mkv
    ./O Brother, Where Art Thou.2000.x264.HDTVRip.(1080p).mkv
    ./Office Space.m2ts
    ./One Flew Over the Cuckoo's Nest.mkv
    ./Pan's Labyrinth.mkv
    ./Plan 9 From Outer Space.mkv
    ./Revenge of the Pink Panther.mp4
    ./Risky Business.mkv
    ./Robinhood Men in Tights.avi
    ./Robocop.mkv
    ./Rocky Horror Picture Show.avi
    ./Saving Private Ryan.mp4
    ./Serenity.avi
    ./Sharktopus.avi
    ./Shrek 1 (2001).mkv
    ./Shrek 2 (2004).mkv
    ./Shrek 3 (2007).mkv
    ./Shrek 4 (2010).mkv
    ./Silent Movie.avi
    ./Son of The Pink Panther.avi
    ./Spaceballs.avi
    ./Srpski Film.mkv
    ./Star Trek (2009).mkv
    ./Star Wars Episode 1.mkv
    ./Star Wars Episode 2.mkv
    ./Star Wars Episode 3.mkv
    ./Star Wars Episode 4.mkv
    ./Star Wars Episode 5.mkv
    ./Starship Troopers.mp4
    ./Sucker Punch.mkv
    ./Taken.avi
    ./Tangled.mkv
    ./Team America World Police Unrated.mp4
    ./The Adjustment Bureau.mkv
    ./The Adventures Of Baron Munchausen.mp4
    ./The Adventures of Buckaroo Bonzai - Across the Eighth Dimension.avi
    ./The Big Lebowski.mp4
    ./The Blues Brothers.mkv
    ./The Boondock Saints II - All Saints Day.m4v
    ./The Boondock Saints.mkv
    ./The Bourne Identity.mkv
    ./The Bourne Supremacy.mkv
    ./The Bourne Ultimatum.mkv
    ./The Breakfast Club.mp4
    ./The City Of Lost Children - English.avi
    ./The City of Lost Children - French.mkv
    ./The Dark Knight.mkv
    ./The Departed.mkv
    ./The Expendables.mkv
    ./The Godfather Part 1.mkv
    ./The Godfather Part 2.mkv
    ./The Godfather Part 3.mkv
    ./The Goonies.avi
    ./The Incredibles.mkv
    ./The Karate Kid.mkv
    ./The Lion King.mkv
    ./The Living Daylights.avi
    ./The Lord Of The Rings The Fellowship of the Ring Extended Edition.m2ts
    ./The Lord Of The Rings The Return of the King Extended Edition.m2ts
    ./Donnie Darko.mkv
    ./Dr Strangelove.mp4
    ./Dr. Horrible's Sing-Along Blog.mkv
    ./Everything is Illuminated.avi
    ./Face Off.mp4
    ./Fantasia (1940).mkv
    ./Fantasia (2000).mkv
    ./Ghostbusters 2.mkv
    ./Ghostbusters.mkv
    ./Goodfellas.mkv
    ./Hackers.mkv
    ./History of The World Part 1.avi
    ./Inception.mkv
    ./Indiana Jones And The Kingdom Of The Crystal Skull.m2ts
    ./Indiana Jones and the Last Crusade.m2ts
    ./Indiana Jones and the Raiders of the Lost Ark.m2ts
    ./Indiana Jones and the Temple of Doom.m2ts
    ./Police Academy.avi
    ./Police Academy.mkv
    ./Pulp Fiction.mkv
    ./Trail of the Pink Panther.mp4
    ./TRON Legacy.mkv
    ./TRON.mkv
    ./Tropic Thunder.mkv
    ./Up (2009).mkv
    ./V For Vendetta.mkv
    ./Wall-E.m2ts
    ./Watchmen.mkv
    ./Weird Science.avi
    ./X-Men 1.mkv
    ./X-Men 2.mkv
    ./X-Men 3 The Last Stand.mkv
    ./X-Men Origins Wolverine.mkv
    ./Young Frankenstein.avi
    ./Zombieland.mkv
    ./Marx Brothers Duck Soup.avi
    ./Marx Brothers Go West.avi
    ./Marx Brothers Horse Feathers.avi
    ./Marx Brothers Monkey Business.avi
    ./Marx Brothers Room Service.avi
    ./Marx Brothers The Big STore.avi
    ./Marx Brothers The Cocoanuts.avi
    ./Megamind.mkv
    ./Monsters Inc.mkv
    ./Monty Python - And Now For Something Completely Different (1971).avi
    ./Monty Python - Jabberwocky (1977).avi
    ./Monty Python - Life of Brian (1979).avi
    ./Monty Python - The Meaning Of Life (1983).avi
    ./Monty Python and the Holy Grail (1975).avi
    ./Monty Python Live at the Hollywood Bowl (1982).avi
    ./Mulan.avi
    ./Muppet Treasure Island.mp4
    ./National Treasure Book of Secrets.mkv
    ./Beverly Hills Cop.mp4
    ./Big Trouble in Little China.mkv
    ./Bill And Teds Excellent Adventure.avi
    ./Blade Runner.mkv
    ./Aladdin.mkv
    ./Beverly Hills Cop 3.avi
    ./Dogma.mkv
    ./Fear and Loathing in Las Vegas.mkv
    ./Ghost Rider.mkv
    ./James Bond Live and Let Die.mkv
    ./Marx Brothers At The Circus.avi
    ./National Treasure.mkv
    ./Planes Trains and Automobiles.avi
    ./Raising Arizona.avi
    ./Revenge of the Nerds.avi
    ./Star Wars Episode 6.mkv
    ./Team America.avi
    ./The Lord Of The Rings The Two Towers 2002 Extended Edition.m2ts
    ./This Is Spinal Tap.avi
    ./Thumbs.db
    ./Top Gun.avi
    ./Topgun.avi
    ./Toy Story 2.m4v
    ./Toy Story 3.m2ts
    ./Toy Story.m4v
    ./Trading Places.mkv
    But when I use
    ls -a > ./FILES
    it generates the following list:
    2001 a Space Odyssey.mkv
    300.mkv
    A Bug's Life.mkv
    A Clockwork Orange.mkv
    Airplane II The Sequel.avi
    Airplane.mkv
    Aladdin.mkv
    Alice in Wonderland.mkv
    American Psycho.mkv
    Annie Hall.avi
    Apocalypse Now {1979}.mp4
    A Shot in the Dark.mp4
    Back to the Future 1.mp4
    Back to the Future 2.mp4
    Back to the Future 3.mp4
    Bambi.mkv
    Beauty And The Beast.mkv
    Beetlejuice.mkv
    Beverly Hills Cop 2.avi
    Beverly Hills Cop 3.avi
    Beverly Hills Cop.mp4
    Big Trouble in Little China.mkv
    Bill And Teds Excellent Adventure.avi
    Blade Runner.mkv
    Blazing Saddles 720p.mkv
    Braveheart.mp4
    Bubba Ho-Tep.mkv
    Burn After Reading.mkv
    Caddyshack.mkv
    Chasing Amy.mkv
    Clerks 2.mkv
    Corpse Bride.mkv
    Curse of the Pink Panther.avi
    Despicable Me.avi
    Die Hard 1.mkv
    Die Hard 2 Die Harder.mkv
    Die Hard 3 Die Hard With a Vengence.mkv
    Die Hard 4 Live Free or Die Hard.mkv
    Dogma.mkv
    Donnie Darko.mkv
    Dr. Horrible's Sing-Along Blog.mkv
    Dr Strangelove.mp4
    Everything is Illuminated.avi
    Face Off.mp4
    Fantasia (1940).mkv
    Fantasia (2000).mkv
    Fear and Loathing in Las Vegas.mkv
    Ferris Bueller's Day Off.mkv
    Fiddler on the Roof.mkv
    Fight Club.mkv
    FILES
    Finding Nemo.mkv
    Full Metal Jacket.mkv
    Ghostbusters 2.mkv
    Ghostbusters.mkv
    Ghost Rider.mkv
    Goodfellas.mkv
    Hackers.mkv
    History of The World Part 1.avi
    Inception.mkv
    Indiana Jones And The Kingdom Of The Crystal Skull.m2ts
    Indiana Jones and the Last Crusade.m2ts
    Indiana Jones and the Raiders of the Lost Ark.m2ts
    Indiana Jones and the Temple of Doom.m2ts
    Inglourious Basterds.mp4
    Inspector Clouseau.avi
    James Bond A View to a Kill.mp4
    James Bond Casino Royale.mkv
    James Bond Diamonds Are Forever.mp4
    James Bond Die Another Day.mkv
    James Bond Dr. No.mkv
    James Bond For Your Eyes Only.mkv
    James Bond From Russia with Love.mkv
    James Bond Goldfinger.mkv
    James Bond License to Kill.mkv
    James Bond Live and Let Die.mkv
    James Bond Moonraker.mkv
    James Bond Octopussy.mp4
    James Bond On Her Majesty's Secret Service.mp4
    James Bond Quantum of Solace.mkv
    James Bond The Living Daylights.mp4
    James Bond The Man With The Golden Gun.mkv
    James Bond The Spy Who Loved Me.mkv
    James Bond The World Is Not Enough.mkv
    James Bond Thunderball.mkv
    James Bond Tomorrow Never Dies.mkv
    James Bond You Only Live Twice.mp4
    Jay and Silent Bob Strike Back.m2ts
    Judge Dredd.mkv
    Kick Ass.mkv
    Kill Bill Volume 1.mkv
    Kill Bill Volume 2.mkv
    Mallrats.m2ts
    Man On The Moon.m4v
    Marx Brothers A Night at the Opera.avi
    Marx Brothers A Night in Casablanca.avi
    Marx Brothers Animal Crackers.avi
    Marx Brothers At The Circus.avi
    Marx Brothers Duck Soup.avi
    Marx Brothers Go West.avi
    Marx Brothers Horse Feathers.avi
    Marx Brothers Monkey Business.avi
    Marx Brothers Room Service.avi
    Marx Brothers The Big STore.avi
    Marx Brothers The Cocoanuts.avi
    Megamind.mkv
    Monsters Inc.mkv
    Monty Python - And Now For Something Completely Different (1971).avi
    Monty Python and the Holy Grail (1975).avi
    Monty Python - Jabberwocky (1977).avi
    Monty Python - Life of Brian (1979).avi
    Monty Python Live at the Hollywood Bowl (1982).avi
    Monty Python - The Meaning Of Life (1983).avi
    Mulan.avi
    Muppet Treasure Island.mp4
    National Treasure Book of Secrets.mkv
    National Treasure.mkv
    O Brother, Where Art Thou.2000.x264.HDTVRip.(1080p).mkv
    Office Space.m2ts
    One Flew Over the Cuckoo's Nest.mkv
    Pan's Labyrinth.mkv
    Plan 9 From Outer Space.mkv
    Planes Trains and Automobiles.avi
    Police Academy.avi
    Police Academy.mkv
    Pulp Fiction.mkv
    Raising Arizona.avi
    Rambo Extended Cut.mkv
    Rambo First 3.mkv
    Rambo First Blood Part 1.mkv
    Rambo First Blood Part 2.mkv
    Ratatouille.mkv
    Red Dawn (1984).mkv
    Repo the Genetic Opera.mkv
    Resevoir Dogs.mp4
    Revenge of the Nerds.avi
    Revenge of the Pink Panther.mp4
    Risky Business.mkv
    Robinhood Men in Tights.avi
    Robocop.mkv
    Rocky Horror Picture Show.avi
    Saving Private Ryan.mp4
    Serenity.avi
    Sharktopus.avi
    Shrek 1 (2001).mkv
    Shrek 2 (2004).mkv
    Shrek 3 (2007).mkv
    Shrek 4 (2010).mkv
    Silent Movie.avi
    Son of The Pink Panther.avi
    Spaceballs.avi
    Srpski Film.mkv
    Starship Troopers.mp4
    Star Trek (2009).mkv
    Star Wars Episode 1.mkv
    Star Wars Episode 2.mkv
    Star Wars Episode 3.mkv
    Star Wars Episode 4.mkv
    Star Wars Episode 5.mkv
    Star Wars Episode 6.mkv
    Sucker Punch.mkv
    Taken.avi
    Tangled.mkv
    Team America.avi
    Team America World Police Unrated.mp4
    The Adjustment Bureau.mkv
    The Adventures Of Baron Munchausen.mp4
    The Adventures of Buckaroo Bonzai - Across the Eighth Dimension.avi
    The Big Lebowski.mp4
    The Blues Brothers.mkv
    The Boondock Saints II - All Saints Day.m4v
    The Boondock Saints.mkv
    The Bourne Identity.mkv
    The Bourne Supremacy.mkv
    The Bourne Ultimatum.mkv
    The Breakfast Club.mp4
    The City Of Lost Children - English.avi
    The City of Lost Children - French.mkv
    The Dark Knight.mkv
    The Departed.mkv
    The Expendables.mkv
    The.Godfather.III.1990.BluRay.1080p.DTS.x264.dxva-EuReKA.mkv
    The Godfather Part 1.mkv
    The Godfather Part 2.mkv
    The Godfather Part 3.mkv
    The Goonies.avi
    The Incredibles.mkv
    The Karate Kid.mkv
    The Lion King.mkv
    The Living Daylights.avi
    The Lord Of The Rings The Fellowship of the Ring Extended Edition.m2ts
    The Lord Of The Rings The Return of the King Extended Edition.m2ts
    The Lord Of The Rings The Two Towers 2002 Extended Edition.m2ts
    The Mummy.mp4
    The Mummy Returns.mp4
    The Mummy Tomb of the Dragon Emperor.mp4
    The Nightmare Before Christmas.mkv
    The Pink Panther (1963).mp4
    The Pink Panther Strikes Again.mp4
    The Producers.avi
    The Shining.m4v
    The Troll Hunter.mkv
    This Is Spinal Tap.avi
    Thumbs.db
    Topgun.avi
    Top Gun.avi
    Toy Story 2.m4v
    Toy Story 3.m2ts
    Toy Story.m4v
    Trading Places.mkv
    Trail of the Pink Panther.mp4
    TRON Legacy.mkv
    TRON.mkv
    Tropic Thunder.mkv
    Up (2009).mkv
    V For Vendetta.mkv
    Wall-E.m2ts
    Watchmen.mkv
    Weird Science.avi
    X-Men 1.mkv
    X-Men 2.mkv
    X-Men 3 The Last Stand.mkv
    X-Men Origins Wolverine.mkv
    Young Frankenstein.avi
    Zombieland.mkv
    If you go over them you'll notice that, using find, some of the entries are out of order but I haven't figured out what the problem is.  If I only wanted to do this for my movies folder that would be fine and I would just use ls -a but I would prefer to do it for my entire external HDD which also has ~11000 songs on it from hundreds of artists so I would hate to do it for each directory.  Is there either some way I can do this easier or some other command (I've been told to look into glob but I can't figure out how to use it) that would do it better?  Note: I get the same result from using
    find . -type f > ./FILES
    as well.
    Last edited by alienated_humour (2011-09-06 20:29:04)

    Army wrote:
    Dude, start a local ftp server and give me the link, I want some of those movies
    @mods, the smiley is intended to show irony (although, who knows? )
    https://wiki.archlinux.org/index.php/Fo … e#Legality - which you already know about. Forum posts are world-readable, and CAN get both you and Arch in trouble, please avoid touching on illegal subjects. What you do outside Arch forums is none of our business, of course.

Maybe you are looking for

  • Refering Cells in webi for calculation

    Hi, We have done calculations separately in multiple reports. Please let me know as to how to refer/use those calculated values across any report, for example, where we could use a sum of a report (sum is assigned to a cell) which could be associated

  • I can only scan one document at a time

    I can only scan one document at a time on my scanner. Can PDF files or documents be merged together?

  • In master detail concept

    When user is going to add data into details section user need to get data from existing corresponding master data for example he add country code and state code in master he need to get added data from master to details for insert personal informatio

  • Elicense control error

    Hello all.  Everytime i try to start logic without my nexus license dongle i get the eLicense control error and logic refuses to start.  The problem is that I do a lot of work in logic on the plane and in hotel rooms and don't always have my license

  • I have updated itunes but now it gives an error r6034 (runtime error) and itunes doesn`t start

    I have updated itunes but now it doesn`t start. I have removed all apple components and reinstalled itunes, but gives the same error: r6034 Runtime error. Now i cannot use itunes. Anybody can help me? Thanks in advance.