Comparing files in a folder with those in another folder with multiple subfolders

is there a non-terminal tool that i can buy that will do the following?:
i want to compare the files that are nicely sorted into nested sub-folders and sub-sub folder in /one/ folder with those that are sitting - in bulk - in another folder.
effectively i want to then /delete/ the duplicated files in the /bulk/ folder and sort the remaining files - the ones that are not dupes - in with the files that are already sorted. i don't want to delete the files that i already filed obviously and I only want to add the files that are not dupes.
i'm dealing with pdf's in this case.
TIA

hotwheels 22 wrote:
i wonder if anyone has tried Araxis Merge?
Merge for Mac is here
<http://www.araxis.com/merge_mac/index.html>
It does folder sync -- and there are quite a few other folder sync tools out there. But that's not what you asked.
files that are nicely sorted into nested sub-folders and sub-sub folder […]
sort the remaining files […] in with the files that are already sorted
That's not folder sync'ing. I doubt you'll find an app which does that out-of-the-box.

Similar Messages

  • I need applescript to change all files in a folder and its subfolders ending in .xlsx changed to .xlsb

    I need applescript to change all files in a folder and its subfolders ending in .xlsx changed to .xlsb

    try something like this:
    with timeout of 3600 seconds
      -- long timeout to because the Finder is horribly slow
              tell application "Finder"
      -- collects the files from a folder called "whatever" in your user home folder
                        set xlsbFiles to every file of entire contents of folder "Whatever" of home whose name extension is "xlsb"
                        repeat with thisFile in xlsbFiles
                                  set name extension of thisFile to "xlsx"
                        end repeat
              end tell
    end timeout
    you could make a more efficient script using System Events.app, but this will get the job done with a minimum of thought.

  • Need file to fiel scenarion with multiple target

    Need file to fiel scenarion with multiple target with screen shots
    Thanks & Regards
    Sateesh

    Hi,
    I could not understand your Qn.
    Nageswar.

  • Script to search all files in specified folder for multiple string text values listed in a source file and output each match to one single results txt file

    I have been searching high and low for this one.  I have a vbscript that can successfully perform the function if one file is listed.  It does a Wscript.echo on the results and if I run this via command using cscript, I can output to a text file
    that way.  However, I cannot seem to get it to work properly if I want it to search ALL the files in the folder.  At one point, I was able to have it create the output file and appear as if it worked, but it never showed any results when the script
    was executed and folder was scanned.  So I am going back to the drawing board and starting from the beginning.
    I also have a txt file that contains the list of string text entries I would like it to search for.  Just for testing, I placed 4 lines of sample text and one single matching text in various target files and nothing comes back.  The current script
    I use for each file has been executed with a few hundred string text lines I want it to search against to well over one thousand.  It might take awhile, but it works every time. The purpose is to let this run against various log files in a folder and
    let it search.  There is no deleting, moving, changing of either the target folder/files to run against, nor of the file that contains the strings to search for.  It is a search (read) only function, going thru the entire contents of the folder and
    when done, performs the loop function and onto the next file to repeat the process until all files are searched.  When completed, instead of running a cscript to execute the script and outputting the results to text, I am trying to create that as part
    of the overall script.  Saving yet another step for me to do.
    My current script is set to append to the same results file and will echo [name of file I am searching]:  No errors found.  Otherwise, the
    output shows the filename and the string text that matched.  Because the results append to it, I can only run the script against each file separately or create individual output names.  I would rather not do that if I could include it all in one.
     This would also free me from babysitting it and running each file script separately upon the other's completion.  I can continue with my job and come back later and view the completed report all in one.  So
    if I could perform this on an entire folder, then I would want the entries to include the filename, the line number that the match occurred on in that file and the string text that was matched (each occurrence).  I don't want the entire line to be listed
    where the error was, just the match itself.
    Example:  (In the event this doesn't display correctly below, each match, it's corresponding filename and line number all go together on the same line.  It somehow posted the example jumbled when I listed it) 
    File1.txt Line 54 
    Job terminated unexpectedly
     File1.txt Line 58 Process not completed
    File1.txt
    Line 101 User input not provided
    File1.txt
    Line 105  Process not completed
    File2.txt
    No errors found
    File3.txt
    Line 35 No tape media found
    File3.txt
    Line 156 Bad surface media
    File3.txt Line 188
    Process terminated
    Those are just random fake examples for this post.
    This allows me to perform analysis on a set of files for various projects I am doing.  Later on, when the entire search is completed, I can go back to the results file and look and see what files had items I wish to follow up on.  Therefore, the
    line number that each match was found on will allow me to see the big picture of what was going on when the entry was logged.
    I actually import the results file into a spreadsheet, where further information is stored regarding each individual text string I am using.  Very useful.
    If you know how I can successfully achieve this in one script, please share.  I have seen plenty of posts out there where people have requested all different aspects of it, but I have yet to see it all put together in one and work successfully.
    Thanks for helping.

    I'm sorry.  I was so consumed in locating the issue that I completely overlooked posting what exactly I was needing  help with.   I did have one created, but I came across one that seemed more organized than what I originally created.  Later
    on I would learn that I had an error in log location on my original script and therefore thought it wasn't working properly.  Now that I am thinking that I am pretty close to achieving what I want with this one, I am just going to stick with it.
    However, I could still use help on it.  I am not sure what I did not set correctly or perhaps overlooking as a typing error that my very last line of this throws an "Expected Statement" error.  If I end with End, then it still gives same
    results.
    So to give credit where I located this:
    http://vbscriptwmi.uw.hu/ch12lev1sec7.html
    I then adjusted it for what I was doing.
    What this does does is it searches thru log files in a directory you specify when prompted.  It looks for words that are contained in another file; objFile2, and outputs the results of all matching words in each of those log files to another file:  errors.log
    Once all files are scanned to the end, the objects are closed and then a message is echoed letting you know (whether there errors found or not), so you know the script has been completed.
    What I had hoped to achieve was an output to the errors.log (when matches were found) the file name, the line number that match was located on in that file and what was the actual string text (not the whole line) that matched.  That way, I can go directly
    to each instance for particular events if further analysis is needed later on.
    So I could use help on what statement should I be closing this with.  What event, events or error did I overlook that I keep getting prompted for that.  Any help would be appreciated.
    Option Explicit
    'Prompt user for the log file they want to search
    Dim varLogPath
    varLogPath = InputBox("Enter the complete path of the logs folder.")
    'Create filesystem object
    Dim oFSO
    Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
    'Creates the output file that will contain errors found during search
    Dim oTSOut
    Set oTSOut = oFSO.CreateTextFile("c:\Scripts\errors.log")
    'Loop through each file in the folder
    Dim oFile, varFoundNone
    VarFoundNone = True
    For Each oFile In oFSO.GetFolder(varLogPath).Files
        'Verifies files scanned are log files
        If LCase(Right(oFile.Name,3)) = "log" Then
            'Open the log file
            Dim oTS
            oTS = oFSO.OpenTextFile(oFile.Path)
            'Sets the file log that contains error list to look for
            Dim oFile2
            Set oFile2 = oFSO.OpenTextFile("c:\Scripts\livescan\lserrors.txt", ForReading)
            'Begin reading each line of the textstream
            Dim varLine
            Do Until oTS.AtEndOfStream
                varLine = oTS.ReadLine
                Set objRegEx = CreateObject("VBScript.RegExp")
                objRegEx.Global = True  
                Dim colMatches, strName, strText
                Do Until oErrors.AtEndOfStream
                    strName = oFile2.ReadLine
                    objRegEx.Pattern = ".{0,}" & strName & ".{0,}\n"
                    Set colMatches = objRegEx.Execute(varLine)  
                    If colMatches.Count > 0 Then
                        For Each strMatch in colMatches 
                            strText = strText & strMatch.Value
                            WScript.Echo "Errors found."
                            oTSOut.WriteLine oFile.Name, varLine.Line, varLine
                            VarFoundNone = False
                        Next
                    End If
                Loop
                oTS.Close
                oFile2.Close
                oTSOut.Close
                Exit Do
                If VarFoundNone = True Then
                    WScript.Echo "No errors found."
                Else
                    WScript.Echo "Errors found.  Check logfile for more info."
                End If
        End if

  • Scripting: browse for data files in a folder and all subfolders below

    Hello,
    i'm looking for a command to search for data files (*.dat) in a folder and all subfolders below.
    I checked out command DirListGet. This command only search in the declared folder and not in the subfolders below.
    Anyone an idea?
    I don't want to use a loop-structure for finding subfolders and browse for the data files.
    Mr. Buddy

    dim result : result = DirListGet("C:\tmp", "*.dat", "filename", "FullFilenamesRecursive")
    dim fl : for each fl in result
    MsgBox fl
    Next
    Works fine for me and even recursive.
    Alternatively but with mucg more effort and the same result.
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    dim folderPath : folderPath = "C:\tmp"
    dim files : files = GetFileListRecursive(folderPath)
    dim fl : for each fl in files
    MsgBox fl
    Next
    Function GetFileListRecursive(folderPath)
    dim fso : Set fso = CreateObject("Scripting.FileSystemObject")
    dim results : results = Array()
    GetFiles fso, folderPath, results
    GetFileListRecursive = results
    End Function
    Sub GetFiles(fso, folderPath, results)
    dim folderObj : Set folderObj = fso.GetFolder(folderPath)
    dim f : for Each f In folderObj.Files
    if(0 = StrComp(fso.GetExtensionName(f), "dat", 1)) then
    dim index : index = ubound(results) + 1
    redim Preserve results(index)
    results(index) = f.Path
    End If
    next
    dim d : for Each d In folderObj.SubFolders
    GetFiles fso, d.Path, results
    next
    End sub

  • Show Thumbnail of all files in a folder and its subfolders

    Hi Guys,
    I want to set the Filter Panel (Adobe Bridge CS3) to "show all items in this folder and all its subfolders" through Java script on windows.
    From UI it is possible by clicking on icon buton present in the filter panel and content panel shows the files from current folder as well as from its subfolders.
    Can any one suggest some Java script to do it?
    -P. M. Mitchell

    Any solution?
    Good Luck.
    My
    Si
    tes

  • Comparing files in a folder

    Not sure this is a Newbie Corner type question, but I did not see where else to go, so here it is...
    Scenario: I have two seperate folders that contain a lot of files, some again in sub-folders. Now I need to find out which files happen to be in both folders, and they must be identical as well. I know how to run diff to compare two files, but that barely scratches the surface of what to do here, seeing as we talk about several dozen files in both folders, possibly even arranged in folders named differently.
    I am looking for an elegant solution to this that goes beyond comparing them visually in dolphin.... Any hints?

    "diff -qr dir1 dir2" works fine, except for special files like symlinks that point to nonexistent locations (I discovered this yesterday when checking my new arch copy...) diff will report that it can't open the file in such case.
    I used meld to avoid this problem, but it used a lot of memory for some files and that made linux close all running programs, which was bad.
    Edit: ah, if "possibly even arranged in folders named differently" means what I think it means, then davvil's solution is closer to what you need, yeah...
    Last edited by stqn (2010-11-18 01:15:40)

  • Is it possible to link and update external files in a Indesign document when sharing the Indesign file in Creative Cloud with multiple users?

    I am new to Creative Cloud, but have been using Adobe software for many years.
    Now we are considering sharing an Indesign file with my project group using CC.
    The Indesign file contains links to external files (one Illustrator and multiple .txt files); and we export the approved version to an Hi-Res PDF.
    These .txt files are currently hosted on our internal server but have not been linked directly: we first copy them over to local desktop and update the links in Indesign before creating a new PDF. 
    Since these file can be update by different people we would like to keep them outside the Indesign and Illustrator files.
    Is it still possible with CC to link directly to the files on our server in Indesign and see if there have been updated?
    Or can they also be stored in the CC cloud? Or is there another method?
    Thanks in advance for any help or suggestions
    Ronald

    This will work if you all use the file syncing of the Creative Cloud desktop application and then you use the Collaborate option for the folder containing all the files. Then it will work on each of your desktops.
    Links to files will not work in the browser when viewing the InDesign document from https://creative.adobe.com/files.

  • How do I control the order of files as written to the LST file of FileNameGet command with multiple files

    The UseFileCommand is not loading my files in alphabetical order...nor in timestamp order...nor in the order I select them in the FileNameGet dialog box.
    How do I control this?
    It appears that the LST file created is where the problem lies.  The UseFileList variable, it appears, reads from the last entry, and works forward.
    So I need a way to manage this..so that my data is processed according to the timestamp (earliest first) OR filename (alphanumeric sort, ascending)
    Thanks

    Hmm, seems I did a better search this morning...and came across the following....
    Previous sort request
    Maybe an enhancement? 
    In my case, the issue is I'm trying to process multtiple data files collected over 6 months of durability testing.  Out of the risk of losing data, our DAQ team has elected to open a new file every hour.  So, I end up with thousands of files.
    I parse through these files, calculating time between various events.  Its CRITICAL that the calculations are in time-order.  The files each 1 Gb in size, so I prefer to utilize the filename (date/time sortable) or original timestamp.
    If processed out of order, the durability data will likley imply something quite wierd (like improvement over time).  Of course, that would be great for a management review...but not so good when warranty starts coming back
    I can write/copy any number of sort routines...I just thought the file order should be intuitive (either forward or reverse...not last, first, middle, etc...
    Anyhow...I'd like to formally request an enhacement in the next ve.  rsion of Diadem; one that provides an additional parameter to be passed...SortField.  Useful options would include FileNameForward, FilenameReverse, TimeForward, TimeReverse, etc...

  • Can I get a count of all files in a folder, including in subfolders?

    I know the various ways to get a count of items in a folder. This gives me the number of files and subfolders. Is there a way to include the number of files in the subfolders in the total folder count?

    I also found that, here: http://superuser.com/questions/198817/recursively-count-all-the-files-in-a-direc tory
    That will give you the count of just files, excluding the folders.
    If you want to count the non-hidden files, you can do this:
    find path/ -type f ! -name ".*" -flags nohidden | wc -l

  • Using an .ai file in indesign cs5 with multiple artboards

    Hello,
    I am working in indesign cs5 and I have a .ai file that I have linked. It only shows artboard 1, and not the other artboards. I know that if you go to objevt>objevt layer options you can toggle the layers, but how can I toggle artboards?
    Thank you,
    Gab

    Addy,
    Ask the sender to Save As, then choose CS5 in the options, so you get a viable CS5 document.

  • Importing data from Microsoft excel file to Oracle Database with Multiple Data Tables. Need expert advice and guidance

    I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
    I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
    Can someone help or direct me to an expert that can help me on this

    e90f478a-c529-4c48-b189-51eebeaed477 wrote:
    I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
    I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
    Can someone help or direct me to an expert that can help me on this
    We don't know the "query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). "
    We don't know where you posted said query.
    We don't know what "some answer and reference" you received "from the forum."
    We don't know what it was that your "Oracle consultant and representative from Oracle Malaysia" said was "impossible".
    So on what basis are we supposed to "help or direct" to "to an expert that can help "?

  • Which file is Logic playing with multiple takes on one track?

    This should be an easy one, but I don't even know how to look it up here or in the Logic manual.
    When you record multiple takes on one audio track, and in the arrange window they are stacked up one on top of the other, which one is Logic playing when you've muted nothing? When each track is the same performance it's impossible to tell because the waveforms stop and start at the same time, and the meters in the arrange window show all takes playing. I'm hearing only one take at a time though and through soloing, muting, and splitting into regions I can usually figure out which one is coming through but there's got to be an easier way to tell.
    Related question, is there anyway to force Logic to play one take all the time except for the muted regions when you want other takes to be playing? Or do I have to keep muting the regions I don't want to hear?
    Any help is greatly appreciated.
    -Marek
    Powermac G5   Mac OS X (10.4.5)  

    The one whose event is latest in the event list - it will enter when the region begins. Therefore, the anchor and region adjustments in the sample editor can affect who plays when.
    Master the mute tool and mute tracks - also assign a KC to mute regions and tracks. It's actually really snappy to make a comp and fly through regons and folders when you have done it for a while.
    J

  • XMP files remain with NEF files in my folder.  Camera Raw suddenly reset leaving my edits gone.  Will XMP files enable me to resume with those lost edits?

    XMP files remain with NEF files in my folder.  Camera Raw suddenly reset leaving my edits gone.  Will XMP files enable me to resume with those lost edits?

    I never tried this, but I'm pretty sure that with DNG files, Lightroom will ignore xmp files, even when you instruct Lightroom to "Read Metadata from File". Lightroom expects all the metadata to be in the DNG file, not in the xmp file.
    Pick flags, as far as I know, are never written to xmp file; nor are they written to DNG files.
    If you're going to make this transfer procedure work, you need to do it by either (a) embedding the metadata in the DNG file and send those back and forth; or (b) use RAW and xmp and then sending the xmp files back and forth (plus I guess you have to transfer the original RAW once to your editor)

  • Is it possible to loop through files in a folder, but only load those with a specific filename?

    Hello all. I have a folder with about 100 text files total, but it's really only about 25 different reports, each with multiple quarters. So, for example, it looks like this...
    Report A 2014-12-31
    Report A 2014-09-30
    Report A 2014-06-30
    Report A 2014-03-31
    Report B 2014-12-31
    Report B 2014-09-30
    Report B 2014-06-30
    Report B 2014-03-31
    Report C 2014-12-31
    Report C 2014-09-30
    Report C 2014-06-30
    Report C 2014-03-31
    ...and so on
    I need to load only report B to a table in SQL Sever 2008 R2, but I need to load all quarters for report B. I'm trying to accomplish this using a foreach loop container, but I haven't figured
    out hot to tell it to only look at report B and ignore the others. In testing, the loop always starts with report A.
    In the process, I also need to capture the date section of the filename in a variable so I can create a derived column with the date to insert into the table.
    Any ideas how to accomplish this? I'm trying to avoid putting each report in its own folder because it adds a manual step, but if there's a way to do that using a file system task before running the loop, I'm open to it.
    Thanks for any advice you have!
    WeeLass

    Have you tried specified Report B*.txt for Files : under the Collections tab ?
    Narsimha

Maybe you are looking for

  • Media encoder CC all black screen

    Hello, 1 week ago my media encoder CC started having an all black screen when opened. There are no buttons no tekst. The only thing you see is the top bar. I have reinstalled Media encoder, installed the latest version. But it still has a black scree

  • Top of page system fields

    How to use Top of page system fields like sy-tvar0 to sy-tvar1 thanks in advance Rishi

  • Dynamic table name in select statment

    hai, Please help me.... oracle 9i i am using. i have four tables abc_121, abc_122, abc_123, abc_124. i want to pick records from a table.table name should be prepared dynamically. i.e., i want to pick records from a quarter table of this year.(ex: ab

  • Report Painter insert blank line after report header

    Hi Expert, I have a problem to insert a blank line (a spacing) after the report header of my customized report painter. For example, in standard cost center report, S_ALR_87013611, there is a small box listed information like cost center/group ... an

  • Naming Convention in the Communication Channel

    Hi All. I have done a FILE->PI->RFC Sync scenerio . Here I created 2 File Communication Channels and 1 RFC Communication Channel. Actually, 1 File Communication channel is sender while the other one is receiver. My question is that can I mention the