How to organize thousands of files, now in root directory, into subfolders

I'm trying to improve my 20-year-old website, originally created in FrontPage and now modified in Expression Web.
I have about twenty HTML pages accessed from index.htm. Each page covers one subject, and contains internal hyperlinks to many thousands of other files (mostly PDFs). Most of those files were dumped into the root directory.
For the past several years I've been using sub-folders to keep new files organized by subject. I'd like to do the same for the older files too.
I guess the filenames were meaningful to me at the time, but many now seem mysterious. For the files whose subject is obvious from the filename, I've been dragging them to sub-folders in Expression Web. Is there some method in Expression Web that would allow
me to view all the internal hyperlinks from my twenty HTML pages and move them in bulk to my new sub-folders?
I see how to view all the hyperlinks from each HTML file, but it's a jumble of internal and external links, in no particular order, so I don't see any easy way move all the internally linked files, other than tracking them down, one by one. If there's an
easier way, I'd love to hear about it!

I'm not sure what you are asking, but I think the answer is "no".  The hyperlink report is what it is, and there is no way to select files from it and bulk move them.   It should be clear what links are internal, but it is up to
you to find those files and move them to the right folder,.

Similar Messages

  • Since upgrading to LION, stuffit doesn't work (get message Power Pc apps no longer supported)  So, how to I unzip RAR files now?!?

    since upgrading to LION, stuffit doesn't work (get message Power Pc apps no longer supported) So, how do I unzip .RAR files now?!?

    Use the current version of Stuffit Expander.
    (63916)

  • How to organize RAC database files on ASM

    How to Organize RAC database files on ASM.
    Say,
    DISK Group = DATA
    DISK Group= FLASH
    Instance = prod1, prod2
    '+DATA/PROD/datafiles/'
    or
    Need to Organize sepratly for each instance specific db files.
    as
    '+DATA/PROD1/datafiles'
    '+DATA?PROD2/datafiles'
    Thanks in Advance,
    Regards
    Satish

    It would be just PROD - since that's the database name...and BTW, when you use DBCA to create a database using ASM, it organizes data files under PROD and it doesn't use instance names.
    HTH
    Thanks
    Chandra

  • How can i get also the files in the root directory and how can i for testing add items of IEnumerable FTPListDetail to List string ?

    What i get is only the directories and files that in other nodes. But i have also files on the root directory and i never
    get them. This is a screenshot of my program after i got the content of my ftp. I'm using treeView to display my ftp content:
    You can see two directories from the root but no files on the root it self. And in my ftp server host i have files in the root direcory.
    This is the method i'm using to get the directory listing:
    public IEnumerable<FTPListDetail> GetDirectoryListing(string rootUri)
    var CurrentRemoteDirectory = rootUri;
    var result = new StringBuilder();
    var request = GetWebRequest(WebRequestMethods.Ftp.ListDirectoryDetails, CurrentRemoteDirectory);
    using (var response = request.GetResponse())
    using (var reader = new StreamReader(response.GetResponseStream()))
    string line = reader.ReadLine();
    while (line != null)
    result.Append(line);
    result.Append("\n");
    line = reader.ReadLine();
    if (string.IsNullOrEmpty(result.ToString()))
    return new List<FTPListDetail>();
    result.Remove(result.ToString().LastIndexOf("\n"), 1);
    var results = result.ToString().Split('\n');
    string regex =
    @"^" + //# Start of line
    @"(?<dir>[\-ld])" + //# File size
    @"(?<permission>[\-rwx]{9})" + //# Whitespace \n
    @"\s+" + //# Whitespace \n
    @"(?<filecode>\d+)" +
    @"\s+" + //# Whitespace \n
    @"(?<owner>\w+)" +
    @"\s+" + //# Whitespace \n
    @"(?<group>\w+)" +
    @"\s+" + //# Whitespace \n
    @"(?<size>\d+)" +
    @"\s+" + //# Whitespace \n
    @"(?<month>\w{3})" + //# Month (3 letters) \n
    @"\s+" + //# Whitespace \n
    @"(?<day>\d{1,2})" + //# Day (1 or 2 digits) \n
    @"\s+" + //# Whitespace \n
    @"(?<timeyear>[\d:]{4,5})" + //# Time or year \n
    @"\s+" + //# Whitespace \n
    @"(?<filename>(.*))" + //# Filename \n
    @"$"; //# End of line
    var myresult = new List<FTPListDetail>();
    foreach (var parsed in results)
    var split = new Regex(regex)
    .Match(parsed);
    var dir = split.Groups["dir"].ToString();
    var permission = split.Groups["permission"].ToString();
    var filecode = split.Groups["filecode"].ToString();
    var owner = split.Groups["owner"].ToString();
    var group = split.Groups["group"].ToString();
    var filename = split.Groups["filename"].ToString();
    var size = split.Groups["size"].Length;
    myresult.Add(new FTPListDetail()
    Dir = dir,
    Filecode = filecode,
    Group = group,
    FullPath = CurrentRemoteDirectory + "/" + filename,
    Name = filename,
    Owner = owner,
    Permission = permission,
    return myresult;
    And then this method to loop over and listing :
    private int total_dirs;
    private int searched_until_now_dirs;
    private int max_percentage;
    private TreeNode directories_real_time;
    private string SummaryText;
    private TreeNode CreateDirectoryNode(string path, string name , int recursive_levl )
    var directoryNode = new TreeNode(name);
    var directoryListing = GetDirectoryListing(path);
    var directories = directoryListing.Where(d => d.IsDirectory);
    var files = directoryListing.Where(d => !d.IsDirectory);
    total_dirs += directories.Count<FTPListDetail>();
    searched_until_now_dirs++;
    int percentage = 0;
    foreach (var dir in directories)
    directoryNode.Nodes.Add(CreateDirectoryNode(dir.FullPath, dir.Name, recursive_levl+1));
    if (recursive_levl == 1)
    TreeNode temp_tn = (TreeNode)directoryNode.Clone();
    this.BeginInvoke(new MethodInvoker( delegate
    UpdateList(temp_tn);
    percentage = (searched_until_now_dirs * 100) / total_dirs;
    if (percentage > max_percentage)
    SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
    max_percentage = percentage;
    backgroundWorker1.ReportProgress(percentage, SummaryText);
    percentage = (searched_until_now_dirs * 100) / total_dirs;
    if (percentage > max_percentage)
    SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
    max_percentage = percentage;
    backgroundWorker1.ReportProgress(percentage, SummaryText);
    foreach (var file in files)
    TreeNode file_tree_node = new TreeNode(file.Name);
    file_tree_node.Tag = "file" ;
    directoryNode.Nodes.Add(file_tree_node);
    numberOfFiles.Add(file.FullPath);
    return directoryNode;
    Then updating the treeView:
    DateTime last_update;
    private void UpdateList(TreeNode tn_rt)
    TimeSpan ts = DateTime.Now - last_update;
    if (ts.TotalMilliseconds > 200)
    last_update = DateTime.Now;
    treeViewMS1.BeginUpdate();
    treeViewMS1.Nodes.Clear();
    treeViewMS1.Nodes.Add(tn_rt);
    ExpandToLevel(treeViewMS1.Nodes, 1);
    treeViewMS1.EndUpdate();
    And inside a backgroundworker do work how i'm using it:
    var root = Convert.ToString(e.Argument);
    var dirNode = CreateDirectoryNode(root, "root", 1);
    e.Result = dirNode;
    And last the FTPListDetail class:
    public class FTPListDetail
    public bool IsDirectory
    get
    return !string.IsNullOrWhiteSpace(Dir) && Dir.ToLower().Equals("d");
    internal string Dir { get; set; }
    public string Permission { get; set; }
    public string Filecode { get; set; }
    public string Owner { get; set; }
    public string Group { get; set; }
    public string Name { get; set; }
    public string FullPath { get; set; }
    Now the main problem is that when i list the files and directories and display them in the treeView it dosen't get/display
    the files in the root directory. Only in the sub nodes.
    I will see the files inside hello and stats but i need also to see the files in the root directory.
    1. How can i get and list/display the files of the root directory ?
    2. For the test i tried to add to a List<string> the items in var files to see if i get the root files at all.
       This is what i tried in the CreateDirectoryNode before it i added:
    private List<string> testfiles = new List<string>();
    Then after var files i did:
    testfiles.Add(files.ToList()
    But this is wrong. I just wanted to see in testfiles what items i'm getting in var files in the end of the process.
    Both var files and directoryListing are IEnumerable<FTPListDetail> type.
    The most important is to make the number 1 i mentioned and then to do number 2.

    Risa no.
    What i mean is this. This is a screenshot of my ftp server at my host(ipage.com).
    Now this is a screenshot of my program and you can see that in my program i have only the directories hello stats test but i don't have the files in the root: htaccess.config swp txt 1.txt 2.png....all this files i don't have it on my treeView.
    What i want it to be is that on my program on the treeView i will also display the files like in my ftp server.
    I see in my program only the directories and the files in the directories but i don't see the files on the root directory/node.
    I need it to be like in my ftp server i need to see in my program the htaccess 1.txt 2.png and so on.
    So what i wrote in my main question is that in the var files i see this files of the root directory i just don't know to add and display them in my treeView(my treeView is treeViewMS1).
    I know i checked in my program in the method CreateDirectoryNode i see in the first iteration of the recursive that var files contain this root files i just dont know how to add and display them in my treeView.
    On the next iterations when it does the recursive it's adding the directories hello stats test and the files in this directories but i need it to first add the root files.

  • How do I get iWeb to publish just the files to my root directory

    Hey all, when I publish my site to my hosting server via iWeb it's just copying the entire folder into my root directory instead of copying the files to the root directory. This is causing my site url to look like this: www.mysite.com/myfolder/ how do I get iWeb to publich the files in the "myfolder" to my server instead of the entire folder?

    I needed to do this while keeping ftp publishing inside iWeb, and so I developed a sneaky solution. I just figured this out, so there may be some extra steps in here. Here goes:
    Find the iWeb application on the computer you are publishing from.
    Control-Click on the application and choose "Show Package Contents".
    In the window that appears, open the folder "Contents".
    Control-Click on the folder "Resources" and choose "Get Info".
    In the window that appears, open the "Sharing and Permissions" drop-down.
    Click the lock in the lower-right corner and enter your password.
    Where it says "Read Only" across from "Everyone", click the arrows and choose "Read and Write".
    Close the "Info" window and open the "Resources" folder.
    Find the "defaultPublishConfiguration.plist" file and change the permissions (repeat steps 4-7 but with "defaultPublishConfiguration.plist" instead of the "Resources" folder).
    Open the "defaultPublishConfiguration.plist" file in TextEdit.
    Find the line "<string>/Web/Sites</string>".
    Change it to "<string>/Web</string>".
    Save and close the text file.
    Restart iWeb.
    Go to your publishing settings and enter the information for your server. Point the "Directory/Path" to the folder above your server's root web folder.
    Set "Site Name" to the name of your server's web folder.
    Make sure that none of the files in your server's web folder have the same name as those iWeb would upload.
    Select File>Publish Entire Site.
    It should now publish your site to "http://www.yourdomain.org/Home.html".
    Hope it works!
    mindoftea

  • ODBC for Rdb files dissolve at root directory now

    Late Dec99, I noticed a change in behavior of Oracle Rdb driver installation files.
    For a couple years, on a Windows 95 PC, when I run the rdbwin95.exe installation program via Start > Run > and specify the -d qualifier, the installation program would first create a Win95 folder inside the current folder location and then create additional folders inside that new folder. Now, it creates the Win95 folder at the root directory, e.g., c:\ level, instead of inside the temporary installation folder.
    Likewise, when I run an older version, rdb32.exe for example, it also dissolves into multiple files, all at the root level, instead of the temporary folder where I had placed it. Rdb16.exe behaves the same way.
    Processing these 2 files can get ugly because it can exceed the maximum number of objects permitted on the c: drive, making new folder creation impossible until the install files are deleted.
    I wonder if there might be some incompatability between the zip program used to create the install files and my current PC software. Each of the PCs I've tried at my location behave the same way, but some PCs at other locations do not, while some do. I just haven't been able to figure out the common denominator.
    The only reason I call this a problem is that I have some s/w installation instructions that walk users thru example screens and it looks like I may need to cover both possible behaviors in my examples.
    Has anyone else seen this problem? Or, have any explanation for it?
    Thanks
    null

    Risa no.
    What i mean is this. This is a screenshot of my ftp server at my host(ipage.com).
    Now this is a screenshot of my program and you can see that in my program i have only the directories hello stats test but i don't have the files in the root: htaccess.config swp txt 1.txt 2.png....all this files i don't have it on my treeView.
    What i want it to be is that on my program on the treeView i will also display the files like in my ftp server.
    I see in my program only the directories and the files in the directories but i don't see the files on the root directory/node.
    I need it to be like in my ftp server i need to see in my program the htaccess 1.txt 2.png and so on.
    So what i wrote in my main question is that in the var files i see this files of the root directory i just don't know to add and display them in my treeView(my treeView is treeViewMS1).
    I know i checked in my program in the method CreateDirectoryNode i see in the first iteration of the recursive that var files contain this root files i just dont know how to add and display them in my treeView.
    On the next iterations when it does the recursive it's adding the directories hello stats test and the files in this directories but i need it to first add the root files.

  • Question: How do I get music files off a thumb drive into iTunes so I can put the music on my iPad and iphone

    Question: How do I get music files off a thumb drive into iTunes so I can put the music on my iPad and iphone

    Welcome to the Apple Community.
    Just drag them to your open iTunes window.

  • How to get list of file names from a directory?

    How to get list of file names from a directory?
    Please help

    In addition, this:
    String filename = files;Should be this:
    String filename = files;
    That's just because he didn't use the "code" tags, so [ i ] made everything following it become italicized.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can i put back files that were accidentally put into trash

    How can i put back files that were accidentally put into trash.  I'm using Mountain Lion on my Mac Book Pro

    command Z if it was the last thing you did.
    Control (right) click on any item in the trash folder>> Put Back

  • How can i put some file (xml) in root apk?

    how can i put some file (xml) in root apk?
    I put fileA in flash builder mobile project.
    build apk.
    fileA  →  "main.apk/assets/fileA" . 
    expect → "main.apk/fileA" .
    PS: view apk by Winrar.
    I have a Demo Android java project.
    It uses armeabi/libcasdkjni.so .
    build apk

    +assets
    +lib
    +META-INF
    +res
    -AndroidManifest.xml
    -classes.dex
    -CopyrightDeclaration.xml
    -mmiap.xml                                                       ←   fileA
    -resources.arsc
    -VERSION
    i build an ANE include armeabi/libcasdkjni.so.
    apk is missing mmiap.xml

    all files will be embed in "assests"(floder in apk ,which includes swf file) in that way.
    build apk

    +assets                                ←         "assets"
    +lib
    +META-INF
    +res
    -AndroidManifest.xml
    -classes.dex
    -CopyrightDeclaration.xml
    -mmiap.xml                                                       ←   fileA
    -resources.arsc
    -VERSION

  • Hi, how to transform a video file from Mark 5D iii into MVI_2500-Apple ProRes 422 for Progressive material.mov

    Hi, how to transform a video file from Mark 5D iii into MVI_2500-Apple ProRes 422 for Progressive material.mov ?
    Is it the best way to work with videos in Final Cut Pro?
    Thank you!
    Anastasia

    Is your 5D media progressive from the camera? Simply use the optimize option when you import into FCP.

  • How do I create a folder in the root directory

    Hi
    How do I create a folder in the root directory?
    Once I do that I need to create a note book file in that folder
    Any help would be much appreciated
    Thanks
    Brian

    Hi Brian,
    Open Macintosh HD in the Finder, then SHIFT+CMD+n
    Root Directory is the top level of the drive.

  • File Library Organize Library Reorganize files  Now can't locate music.  How do I get my music back in the playlists.  Still all in folders in music file??  HELP!

    I recently downloaded iTunes 10, found my library and things looked great..........UNTIL.....I clicked on the reorganize files box in the 'Organize Library' window.  Now all my music has a little ! next to it and says it cannot locate the song.  I have all the music still in the folders but iTunes not being able to locate it.  How do I get everything back the way it was??

    if I set up another library, will that affect my ipod?
    You will be given the chance to sync that iPod when it is connected if the iPod is set to sync automatically; if you choose that option, the music will be erased from the iPod. If not, you can transfer purchased content from the iPod and add additional music to it. Click here for more information.
    If I set up another library, do I go to that one when using my ipod.
    Yes.
    (31404)

  • How to remove thousands of file called with the same name with just one number most of the other

    I've created this thousands of file with a python script, and i've tried to delete all of them using another python script which uses while command and it does work but it's really too slow and my finder crashes. I can't delete all of them manually because it would take forever and from the terminal i don't know how to delete them. The files haven't got an extension and are in my user directory, so please if somebody knows something to do tell me. (sorry for my english)

    Yes there is a way. Post back with the following information:
    1. With respect to your home directory, what is the exact folder that the files are in (ie, are they in the Documents folder, or in a subfolder within the Documents folder). What are the exact names (caps included) of these directories?
    2. What is the exact name scheme of the files? You mentioned they are incremented numerically, but what are the rest of the files' names (again, capitalization is important)?
    With this information, there are several ways to approach the problem, which will basically be four steps to ensure you do not inadvertently remove files you wish to keep:
    1. Create a new folder to temporarily house the files.
    2. Issue a command to target the files by name and move them into a separate folder.
    3. Check the old parent folder to ensure nothing is missing, and optionally check the names of the moved items.
    4. Finally delete the contents of the temporary folder, along with the folder itself.
    The specifics of these steps will depend on the names of the files and the folder that they are in, so provide as much information as you can about that, and we can work through the steps.

  • How do I move PDF files out of iBooks and into Goodreader?

    Question. How do I move my PDF files out of iBook and into Goodreader. ??

    I may havE found why the files disappear in the first place.
    In iTunes, after connecting your iPad, check on the sync list. Click the "books" tab and be sure that "Books and PDF files" is selected. Then go thru the list and be sure all the PDF files you want to save are checked.
    Perhaps this wasn't done causing the PDF files to not be synced and thus restored during the conversion to iOS5.
    Thanks for your help. I will stop worrying about it and in any case, I  now have several ways to recover those PDF files.

Maybe you are looking for

  • Updrading from VS 2005 bundled CR XI to Developer Edition

    Post Author: Faraz CA Forum: Upgrading and Licensing Hi,          Is it possible to upgrade a CR XI .Net Edition license that comes bundled with VS 2005 to a Crystal Reports XI Developer Edition license,  or do I need to purchase a full version? In c

  • What is the error in this one line of code!

    s=s-(s/28)*[1-(s/28)*(29/s+1)*(21-q/11)]; I am using this line of code in my programe but i am getting the following error. C:\shahzad\Easter.java:28: illegal start of expression s=s-(s/28)*[1-(s/28)*(29/s+1)*(21-q/11)]; Please help me solvingg this

  • Backup/restore a system that has 2 OS installed

    Hello Guys I have 2 OS –both are windows XP- installed on a machine on 2 different partitions Using Rescue and Recovery, I created a backup inside OS number 1, I tried to restore the backup, but unfortunately, Rescue and Recovery restored only one OS

  • SIMPLE HTTP to RFC scenario.

    Hello Guru's,        I want to perform simple HTTP to RFC scenario. Can any one tell me the steps for this scenario. Explain me with your example but is should be understandable for the beginners.( please don't ask my requirement ). If possible give

  • How do you unlock a disabled ipod 4g?

    I have an Ipod 4g and My brother got on it and he didnt know my password and disabled my ipod to where i cant get on it unless i connect to itunes. What do i do from there?