[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.

Similar Messages

  • [SOLVED]JDownloader: Open File / Open Download Directory not clickable

    I bought a new drive, JD downloads without problems in a folder in this drive, but I can not click on Open File and Open Download Directory.
    I use Thunar.
    On my previous installation I had the same problem and solved it by moving the download folder to /home/username (but I don't want my folder there anymore).
    Any idea why is this happening? Permissions? fstab? I don't see anything wrong...
    Thank you
    Last edited by hariskar (2014-03-31 04:56:04)

    The problem described above was with the setup file from jdownloader.org. With setup from AUR there is no such problem.

  • How to get rid of Index of file:///C:/Users/lago/AppData/Roaming/SpecialSavings/ Up to higher level directory Name Size Last Modified File:SpecialSavings_2.0

    I am unable to uninstall this high risk addon shown below in Firefox Ad Data
    Index of file:///C:/Users/lago/AppData/Roaming/SpecialSavings/
    Up to higher level directory
    Name Size Last Modified
    File:SpecialSavings_2.0.0.crx 25 KB 19-Aug-12 6:03:42 PM
    Anyone know how to get rid of it please?

    I am unable to uninstall this high risk addon shown below in Firefox Ad Data
    Index of file:///C:/Users/lago/AppData/Roaming/SpecialSavings/
    Up to higher level directory
    Name Size Last Modified
    File:SpecialSavings_2.0.0.crx 25 KB 19-Aug-12 6:03:42 PM
    Anyone know how to get rid of it please?

  • This is what I get, Index of file:///C:/Program Files/Mozilla Firefox/

    Index of file:///C:/Program Files/Mozilla Firefox/
    Up to higher level directory
    Name Size Last Modified
    File:AccessibleMarshal.dll 19 KB 7/8/2011 3:16:28 AM
    File:D3DCompiler_43.dll 2057 KB 1/1/2010 3:00:00 AM
    File:README.txt 1 KB 1/1/2010 3:00:00 AM
    File:application.ini 3 KB 1/1/2010 3:00:00 AM
    File:blocklist.xml 8 KB 1/1/2010 3:00:00 AM
    File:chrome.manifest 1 KB 7/7/2011 11:50:44 PM
    components 7/25/2011 7:56:19 AM
    File:crashreporter-override.ini 1 KB 1/1/2010 3:00:00 AM
    File:crashreporter.exe 123 KB 7/8/2011 3:16:28 AM
    File:crashreporter.ini 4 KB 1/1/2010 3:00:00 AM
    File:d3dx9_43.dll 1952 KB 1/1/2010 3:00:00 AM
    defaults 7/25/2011 7:56:19 AM
    File:dependentlibs.list 1 KB 1/1/2010 3:00:00 AM
    dictionaries 7/25/2011 7:56:19 AM
    extensions 5/12/2011 11:16:35 AM
    File:firefox.exe 903 KB 7/8/2011 3:16:28 AM
    File:freebl3.chk 1 KB 7/8/2011 3:16:28 AM
    File:freebl3.dll 263 KB 7/8/2011 3:16:28 AM
    File:install.log 28 KB 7/25/2011 7:56:23 AM
    File:libEGL.dll 87 KB 7/8/2011 3:16:28 AM
    File:libGLESv2.dll 455 KB 7/8/2011 3:16:28 AM
    File:mozalloc.dll 16 KB 7/8/2011 3:16:28 AM
    File:mozcpp19.dll 703 KB 7/8/2011 3:16:28 AM
    File:mozcrt19.dll 699 KB 7/8/2011 3:16:28 AM
    File:mozjs.dll 1807 KB 7/8/2011 3:16:28 AM
    File:mozsqlite3.dll 763 KB 7/8/2011 3:16:28 AM
    File:nspr4.dll 199 KB 7/8/2011 3:16:28 AM
    File:nss3.dll 631 KB 7/8/2011 3:16:28 AM
    File:nssckbi.dll 335 KB 7/8/2011 3:16:28 AM
    File:nssdbm3.chk 1 KB 7/8/2011 3:16:28 AM
    File:nssdbm3.dll 103 KB 7/8/2011 3:16:28 AM
    File:nssutil3.dll 87 KB 7/8/2011 3:16:28 AM
    File:omni.jar 5159 KB 7/7/2011 11:50:44 PM
    File:platform.ini 1 KB 1/1/2010 3:00:00 AM
    File:plc4.dll 22 KB 7/8/2011 3:16:28 AM
    File:plds4.dll 19 KB 7/8/2011 3:16:28 AM
    File:plugin-container.exe 17 KB 7/8/2011 3:16:28 AM
    plugins 6/27/2011 6:27:21 PM
    File:precomplete 2 KB 7/7/2011 11:50:46 PM
    File:removed-files 34 KB 1/1/2010 3:00:00 AM
    res 6/27/2011 7:45:06 PM
    searchplugins 7/25/2011 7:56:19 AM
    File:smime3.dll 103 KB 7/8/2011 3:16:28 AM
    File:softokn3.chk 1 KB 7/8/2011 3:16:28 AM
    File:softokn3.dll 163 KB 7/8/2011 3:16:28 AM
    File:ssl3.dll 139 KB 7/8/2011 3:16:28 AM
    uninstall 7/25/2011 7:56:19 AM
    File:update.locale 1 KB 1/1/2010 3:00:00 AM
    File:updater.exe 259 KB 7/8/2011 3:16:28 AM
    File:updater.ini 1 KB 1/1/2010 3:00:00 AM
    File:xpcom.dll 19 KB 7/8/2011 3:16:28 AM
    File:xul.dll

    Please do the following.<br><br>
    #Go to [http://www.mozilla.com/en-US/firefox/fx/?ref=logo Download Firefox 5.0.1] and download the installation file to your desktop. If necessary, download it using Internet Explorer, but in that event, choose "'''Save'''" when you see the prompt and save it to the desktop. ''Do not choose "Run"''. <br><br>
    #Then go to Add/Remove Programs, scroll down to "Mozilla Firefox" and remove it, choosing to keep your bookmarks, customizations etc., (''don't checkmark the box'').<br><br>
    #Then reboot and delete the folder called "Mozilla Firefox" at this location: C:\Program Files\Mozilla Firefox<br><br>
    #Finally run the installation file you downloaded to the desktop earlier.<br>
    Your bookmarks, customizations etc., are maintained in a different location and will become available to you again once you complete the installation.<br><br>
    As a precaution, make a backup of your Bookmarks as follows:<br><br>
    #Press CTRL+SHIFT+B to open the Bookmarks Manager.<br><br>
    #Click the link to '''Import and Backup '''and then click '''Export HTML '''and save the file somewhere.
    You can use this file at any time to restore your bookmarks should that prove to be necessary. Simply reverse the procedure and choose "Import HTML" instead.
    N.B. If you use a download accelerator, disable it before you attempt to download Firefox. These utilities are a frequent cause of extraction failures.
    If this suggestion resolves the problem for you, please click the '''Solved it''' button next to this post after you log in into the forum. This will help others searching for a solution to the same problem.
    Thanks.

  • Site edit not recognizing index.htm file

    Going through the Site/Edit function to change server
    information, DW told me it can't find the index.htm file. Waiting
    on more information from the host - beside the new IP address, the
    password has been changed and the upload path.
    While I'm waiting on that info want to make sure there's not
    something on my end that could be wrong. The file is in the root
    directory, the name has not changed, and the default file extension
    is set to .htm. Is there something I could have done to cause this?
    The site's been up for years, and I last changed it successfully
    last month or the month before.

    > it can't find the index.htm file
    No, it's telling you that you haven't told it which file is
    your home page.
    Find it, right click, and choose "Set as Home Page". Bada
    bing, bada boom.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "oreillers" <[email protected]> wrote in
    message
    news:gqoi3c$pbj$[email protected]..
    > Going through the Site/Edit function to change server
    information, DW told
    > me
    > it can't find the index.htm file. Waiting on more
    information from the
    > host -
    > beside the new IP address, the password has been changed
    and the upload
    > path.
    >
    > While I'm waiting on that info want to make sure there's
    not something on
    > my
    > end that could be wrong. The file is in the root
    directory, the name has
    > not
    > changed, and the default file extension is set to .htm.
    Is there
    > something I
    > could have done to cause this? The site's been up for
    years, and I last
    > changed it successfully last month or the month before.
    >

  • How to get all files in one directory

    Hi there,
    is there any way to get all the files in one directory?
    e.g. a method
    File[] getAllFiles(String directory){
    Thank you

    Just out of interest, which part of the File API was confusing?
    http://java.sun.com/j2se/1.5.0/docs/api/index.html
    If you look down the left-hand side, you'll see a frame listing "All File". If you select "File" from that list, it opens up the API in the right-hand frame. Quite near the top you'll find "listFiles".
    I only ask as this (and other questions easily answered by looking at the API) are frequently asked. Did you overlook it when you read the API or did you just not read it?
    I really want to know. I think there is scope to cater for that behaviour within this site. A nice API finder would be good; something more intelligent than the search function (which people use less frequently even than the API docs).

  • 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
              

  • How to get the file size (in bytes) for all files in a directory?

    How to get the file size (in bytes) for all files in a directory?
    The following code does not work. isFile() does NOT recognize files as files but only as directories. Why?
    Furthermore the size is not retrieved correctly.
    How do I have to code it otherwise? Is there a way of not converting f-to-string-to-File again but iterate over all file objects instead?
    Thank you
    Peter
    java.io.File f = new java.io.File("D:/todo/");
    files = f.list();
    for (int i = 0; i < files.length; i++) {
    System.out.println("fn=" + files);
    if (new File(files[i]).isFile())
         System.out.println("file[" + i + "]=" + files[i] + " size=" + (new File(files[i])).length() ); }

    pstein wrote:
    ...The following code does not work. Work?! It does not even compile! Please consider posting code in the form of an SSCCE in future.
    Here is an SSCCE.
    import java.io.File;
    class ListFiles {
        public static void main(String[] args) {
            java.io.File f = new java.io.File("/media/disk");
            // provides only the file names, not the path/name!
            //String[] files = f.list();
            File[] files = f.listFiles();
            for (int i = 0; i < files.length; i++) {
                System.out.println("fn=" + files);
    if (files[i].isFile()) {
    System.out.println(
    "file[" +
    i +
    "]=" +
    files[i] +
    " size=" +
    (files[i]).length() );
    }Edit 1:
    Also, in future, when posting code, code snippets, HTML/XML or input/output, please use the code tags to retain the indentation and formatting.   To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.  It took me longer to clean up that code and turn it into an SSCCE, than it took to +solve the problem.+
    Edited by: AndrewThompson64 on Jul 21, 2009 8:47 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Copying files from same directory as *.java files and moving to WEB-INF/classes/ package name

    In our current application we have the following source directory structure:
              src -
              - com
              - edeploy
              - subdirs ... (many directories here)
              - jsp
              -subdirs ... (many directories here)
              In com.edeploy.subdirs, there exists *.java files, and *.gxq files (query
              files). I would like to modify my build.cmd script to copy the *.gxq files
              into the same directory as the class files.
              Here's my script so far:
              @REM Create list of files to compile
              DIR /S /B /A:-D src\com\*.java >class.list
              @REM Create list of query files
              DIR /S /B /A:-D src\com\*.gxq >query.list
              @REM Compile
              javac -d stage\WEB-INF\classes @class.list
              @REM Copy query files into class directory
              .......... code needed here ......
              Can anyone help me with this?
              Thanks,
              Matt
              

    You may want to check out:
              http://jakarta.apache.org/ant/index.html
              Gary
              "Matt Raible" <[email protected]> wrote in message
              news:[email protected]..
              > In our current application we have the following source directory
              structure:
              >
              > src -
              > - com
              > - edeploy
              > - subdirs ... (many directories here)
              > - jsp
              > -subdirs ... (many directories here)
              >
              >
              > In com.edeploy.subdirs, there exists *.java files, and *.gxq files (query
              > files). I would like to modify my build.cmd script to copy the *.gxq
              files
              > into the same directory as the class files.
              >
              > Here's my script so far:
              >
              > @REM Create list of files to compile
              > DIR /S /B /A:-D src\com\*.java >class.list
              >
              > @REM Create list of query files
              > DIR /S /B /A:-D src\com\*.gxq >query.list
              >
              > @REM Compile
              > javac -d stage\WEB-INF\classes @class.list
              >
              > @REM Copy query files into class directory
              > .......... code needed here ......
              >
              > Can anyone help me with this?
              >
              > Thanks,
              >
              > Matt
              >
              >
              

  • How to create a file in current directory

    hi,
    I want to create a file in a current directory, But when i written following
    code then it cannot create file, How i will create file in current directory?
    Is there anyone who can help me?what will be the solution of this problem?
    Please give me solution
    String dir=application.getRealPath("/");
         int count;
         String filename="sample.txt";
         out.println(dir+filename);
         FileOutputStream fout=new FileOutputStream(filename);
         PrintStream p;
         p=new PrintStream(fout);
         p.print("1");
         p.close();with regards
    Bina

    hi,
    my problem is that my path is ok...but when i open file in this directory then
    it cannot open a file, is there anyone who can do it? When a user save data in server from remote
    area then what will be path of my code? how i will solve it? please give me
    solution.
    with regards
    bina

  • How to create pdf files in UNIX directory from oracle reports

    I would like to know how to create pdf files in UNIX directory from oracle reports.
    Thanks,

    Please make your question more clear . Also mention the reports version.
    1) If you are runnning reports in Unix, you can give
    .... destype=file desformat=pdf desname=<filename>
    in command line
    Please refer docs below.
    2) If by your question you mean
    "My reports server is running in Windows but I want to ftp my files to Unix after creating it"
    then the answer is that you can use pluggable destination "ftp"
    .... destype=ftp desformat=pdf desname=<ftp url>
    Pluggable destinations download
    http://otn.oracle.com/products/reports/pluginxchange/index.html
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf

  • Too many files in root directory. How to split them up?

    Hi,
    I made my site http://isuckatgolf.net in Dreamwever cs3. Having no idea what I was doing when I started 5 years ago all images and pages have been uploaded directly to the root folder/directory. My host GoDaddy.com just sent me a notice that I'm only allowed 1024 folders/files in one directory. I have almost 7000 in the main site and 1500 in the database for the sub-domain/forum (SMF forum). According to Godaddy.com this is a rule of theirs, but it isn't posted anywhere that they could point me to. Only that I have a max. of 500,000 files total in my unlimited shared hosting account.
    I'm looking for a new host that can handle the way it is set up today. My question is, IF I have to divide these files up into subfolders or directories (whatever they're technically called), is it possible and is there an "easy" way to do this in Dreamweaver. Obviously manually moving 7000 files will take some time. But can it be done, and do you think it will be necessary no matter who hosts the site?
    Lastly, if I do find a host that is ok the way it is, going forward should I direct DW to put future images into an images folder of some kind. I never created one. Right now all the jpg, gif and html files are just listed. (I didn't know how to do it the right way when I started!)
    Any help would be apprecaited.
    Thanks!
    KEn

    It does not make any difference where your files are stored as long as the path to the file is correct. Nancy's idea is correct, but you can have sub-folders to the sub-folders. For example, I will have an images folder and within the images folder I will have folders that refer to pages within my site. My images folder may look like
    +images
         +index
              +thumbs
              +slides
         +gallery
              +holidays2012
                   +thumbs
                   +images
              +holidays2013
                   +thumbs
                   +images
              +golf
                   +images
    etc, etc.
    That way it is easy to discover if there are any redundant images.
    The same goes for the pages. You may have a products page with a couple of sub-pages. The directory would the be
    index.html
    aboutus.html
    products.html
    contactus.html
    +products
         fencing_material.html
         sport_clothing.html
         solar_panels.html
    etc, etc
    As said, it really does not matter where the files are, with the exception of the index page which must always be in the root directory.
    Good luck 

  • List all files in a directory on a server that hosts the applet

    Hei :)
    I have a problem. I want to list all files in a directory on my server. ( http://www.foo.bar/tw )
    The applet is in the root folder ( http://www.foo.bar ).
    So i tried it like this
    File fi = new URL(getCodeBase() + "/all/").getFile();But when I try to list the files, I get a SecurityException.
    Can anyone help me out?
    Peace!
    LoCal

    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=&qt=%2Blist+%2Bfile+%2Bserver

  • How do U to get the names of all files in a directory?

    Is there a simple way to get all names of the files in a directory and put them in an array of Strings? Sounds simple, but I don't have a clue how to do this. Thanks.

    Hi Kindoo,
    Create a instance of File object using the path of the Directory
    File fileDir = new File(directoryPath);
    To get the List of all the files in the directory use
    String[] strFiles = fileDir.list();
    This will solve your problem,
    Cheers
    Nagaraj

  • Redirect to their corresponding index.jsp files from multiple sub folders

    Hi,
    I have a doc root in the location /opt/htdocs/defaultapp, where defaultapp is the application with war file(with jsps and java code) in weblogic.
    There are multiple sub folders in docroot like /opt/htdocs/defaultapp/ra, /opt/htdocs/defaultapp/info, ...etc.
    ra, info has index.jsp files from weblogic but not in docroot. So, If there are 12 sub folders like this, how can I use a single <If> condition to do that.
    I can also do in this way
    NameTrans fn="restart" from="/ra/" uri="/ra/index.jsp"
    NameTrans fn="restart" from="/info/" uri="/info/index.jsp"
    If I don't define in the above manner, the browser is giving me the directory listing.
    again I have subfolders under /ra, /info but without jsps, so when a user tries to open these folders it should return him an error page
    finally, if the user requests
    http://192.168.1.1:10000/<any-sub-folder>/ it should open http://192.168.1.1:10000/<any-sub-folder>/index.jsp
    if the user requests http://192.168.1.1:10000/<any-sub-folder>/<any-sub-folder2> it should redirect to error page
    Thanks,

    If /opt/htdocs/defaultapp is a Java web application being served by WebLogic then you shouldn't be configuring Sun Web Server to do the welcome file processing for directories. Instead, you should look at the welcome file configuration in WebLogic and in your web application.

Maybe you are looking for

  • PROBLEM REGARDING GUI_DOWNLOAD IN .TDF FORMAT

    hi , i am append the data into one internal table (iresult) . and internal table contain data row by row . when data is downloaded into destop it is storing in .TDF FILE FORMAT IS NOT DOWNLOADING IN .TDF FORMAT FILE  AS IN FORMAT OF INTERNAL TABLES L

  • Embedding connect asset (captivate project) in web page

    How do I reference a Connect address (asset) such as from the Connect server that don't end in an html file using the embed command in html so that the content shows on my web page? a.    I tried the flash object and movie in dreamweaver CS3 but I co

  • Please help - simpleviewer slideshow and text link to start that slideshow

    I have iweb 1.1.2 I have made a simpleviewer folder (done from a CS4 script on the simpleviewer website). I don't like the horrible "start slideshow" button, and would rather have a text button/link (e.g., "start slideshow" in a font of my choosing)

  • Lost iphoto after reinstall, dont have ilife and cant find in appstore?

    I did a complete reinstall and clear on my macbook pro, I lost iphoto and garageband all those things that come with ilife. It did intiially come for free with my laptop, I read that if I go into the app store and just accept thse things I can get it

  • Using Row Repeater - adding a remove row button

    I have an input field on my view for users to enter Project Numbers along with an Add Button. When the user enters a project number & clicks on the add button, I append that project to my row repeater. this is working fine. In my Context, I defined m