Number of Files in same copied DIR Differs

any ideas why when i copy a dir from one drive to another, both formatted with OS Extended Journalled, tat the file numbering differs? One drive had the DIR on, i copied across to another which didn't have it on, thus a clean copy, no overwriting, and source drive says 45 items, destination says 50, as per the image attached..

Im running the applet from the webserver.
So it is not possible?An applet is always run client-side. The Java plugin for the browser you're using downloads the applet from the browser and runs it locally.
Don't let the fact that your client and server might be the same machine confuse you, they are still seperate entities.
If however you're not running this with a browser, but with an applet viewer I don't know. The general rule is that applets can't get access to the client filesystem, I guess that still holds true when using viewers other than browsers.

Similar Messages

  • Importing files with same name but different extensions

    Hope I will be clear enough.
    Lets say that instead of sending a file from Lightroom to an external editor, I open it directly in Photoshop.
    When I'm done, I save the edited photo using the same name but in a different file format : IMG_1333.cr2 > IMG_1333.psd or IMG_1333.tif, and selecting the same folder location.
    Then, I come back into Lightroom and synchronise the folder.
    Why is the knew version of the picture not showing up beside the original file, despite the different extension ?
    I notice that the different extensions ( .psd or .tif ) are recorded in the sidecar files field in the Metadata panel.
    Of course, everything works fine if the file name is modified ( or just by selecting the "copy" option in Photoshop's "save as" dialog box ). Lightroom synchronise dialog shows the new photo to import.
    So, why is Lightroom not making a difference between files with the same name but different format extensions ?
    Thanks for any hint :-)
    Gilles.

    Gilles-
    I think your problem is likely that you have the option to stack the copy with the original turned on. First, right-click on one of these photos and go to the stacking menu. If Unstack is not grayed out then you have a stack -- select Unstack to reveal all copies.
    To change the automatic stacking of edited copies from Photoshop, when you next choose to edit a file, in the bottom left corner of the dialog is the check box for unstacking. Clear it, and that choice should "stick" until you change it again.
    Hope this helps!
    Tony

  • How to check-in multiple files with same name having different revision num

    Hi
    Can anyone please tell me, how to check-in multiple files with the same name with different revision number using RIDC API.
    For eg:
    First I will check-in a file(TestFile.txt) into a content server with revision number 1 using RIDC API in ADF application. Then after some time, will modify the same file(TestFile.txt) and check-in again. I tried to check-in same file multiple times, however first time its checking-in correctly into server showing revision as 1, while checking-in same file again, its not giving any errror message, and also its not reflecting in server. Only one file(TestFile.txt) is reflecting in server.
    How to implement this functinality using RIDC API? Any suggestions would be helpful.
    Regards
    Raj
    Edited by: 887680 on Mar 6, 2013 10:48 AM

    Hi Srinath
    Thanks for your response. Its not cloning, its like check-in file first, then check-out the file and do some editing and then again upload the same file with different revision number using RIDC. I got the solution now.
    Regards
    Raj

  • Applescript: Create a Folder from Files of Same Name but different Extension

    Hi guys,
    Racking my brain for the past 2 hours trying to figure out how to properly use Applescript but alas to no avail.
    My  problem is as follows.
    xxxxxxx.extension1
    xxxxxxx.extension2
    yyyyyyy.extension1
    yyyyyyy.extension2
    zzzzzzz.extension1
    zzzzzzz.extension2
    I've been trying to create an applescript that takes files of same name and create a folder with the name of those files grabbed.
    So ultimately it would look like
    xxxxxxx/
         xxxxxxx.extension1
         xxxxxxx.extension2
    yyyyyyy/
         yyyyyyy.extension1
         yyyyyyy.extension2
    zzzzzzz/
         zzzzzzz.extension1
         zzzzzzz.extension2
    Can some more more adept at this than me provide with a solution?  It would be great if I could use by just selecting the folder that contains all these files.
    Also can anyone suggest an beginner's book on Applescript?  I'm a bit or an order freak and Im sure applescripting could help me automate a lot of repetitive tasks Im currently doing.
    Thanks!

    This will do what you need.
    set source to (((path to desktop folder) as text) & "Test") as alias
    tell application "System Events"
                   set fnames to (name of every file of source)
    end tell
    set AppleScript's text item delimiters to "."
    repeat with fname in fnames
              try
                   set folderName to text item 1 of fname
                   if folderName is not "" then
                    tell application "Finder"
                      if not (exists (folder folderName of source)) then
                          make new folder at source with properties {name:folderName}
                      end if
                     move file fname of folder source to folder folderName of source
                 end tell
           end if
        end try
    end repeat
    (the code formatting here really s*?ks. select all the text in the box and right click and select services make new AppleScript to get it into the editor)
    It's not very polished so be careful, setup some test folders and make sure it does what you want before using it on your live data.
    You need to set the
    set source to
    line to the path of the folder where the files are. You can do that as an absolute path ie "Macintosh HD:Users:etc" or using the path to as in the example.
    It is also not very efficient and there are many different ways to attack this problem. If this is a one time thing this will be fine. If it will be an ongoing situation you might want to describe exactly what is happening and other ways to solve the problem might be possible.
    As for learning AppleScript start with the Apple Development Site, especially AppleScript Language Guide.
    There are lots of sites out there with good info MacScripter being one of the better ones.
    Book wise I really like Learn AppleScript by Apress. Its good as both a tutorial and reference and has a good intro to AppleScript Objective-C (a way Apple ahs setup to allow AppleScripts to access pure objective-c code and the OS X GUI).
    good luck

  • Batch processing: save processed file with same name to different location without moving the original

    Hi, I would like to denoise Voice Over files with help of Auditions Batch Process. However, I have to save the files with the same name as the original, so that I can simply relink them in Premiere. Since I do want to keep the originals, I would like to save the processed files to a different location.
    Unfortunately, Batch Processor adds " Copy" to the processed files and moves the originals along with the processed files to the new folder (causing Premiere to loose the original files).
    Can I achieve my goal with Batch Processor, and how would I have to configure it?
    Kind regards,
    Andreas

    Which version of Audition are you using? The latest ones allow you to specify where the batched files are saved and also if any Prefix or Postfix are added to the file name. These are all under Export Settings in the Batch Process pane. However you must have the Export box ticked to give you access to the settings.

  • How to mass-reindex files with same name but different file extensions

    (reposting cos I'm confused about if I posted in the proper place before. Please delete if it is a repost.)
    So I'm on a remote workflow. I pick all the raw data and convert it in two quality standards, one on 'high' with full specifications and one on 'low' so I can send 2gb instead of 80gb of files through the internet for me to work remotely on, and to speed up the overall work rhythm because files are lighter. All I need to do is to work at my home with the low quality files, send it back to the client's computer after finished, re-index all files in their high resolution twins and we are good to go to finish the product with highest quality possible. But both high and low quality files need to be the same extension, that I picked .mp4 for it is the standard for pretty much anything.
    The point is, if I want to go full mobile, I only have an old HP Pavillion notebook and I really need to work with a video codec that goes very easy on it. I can only think about some 16:9 DV format. But the point is, this format generates a different file extension than my .mp4 standard, and Premiere, to my knowledge, really can't reindex files using only the file name while ignoring the file extension. It really should. And I really need to know how.
    We also need to consider Premiere versions that allow themselves to be installed at x32 processors. My desktop is x64 and I really have no problem to work on these standards, the problem is, in my notebook I really can't.
    So, halp?

    i want to say it was added in cs7, which requires subscription, so in that case might as well be using latest version 8.  if you had to use an older version like cs5, you could still use h264 or low bitrate dnxhd/prores codecs inside a quicktime .mov file. that would allow you to have same file ext on both versions of files.

  • Files with same name in different packages

    I have a file with the same name defined in two different packages.
    When I generate the javadoc, I get an error saying that
    Class com.eg.toolkit.Email already defined in com.eg.common.Email.java
    Does javadoc expect all files to be of different names acroos packages?
    Thanks
    Chintu

    You can use the same class name in different packages.
    The Java API does that (java.awt.List, java.util.List).
    This is odd. What version of javadoc are you using,
    and what command are you passing in, with what classpath setting?
    -Doug Kramer
    javadoc team

  • Change selected file to a file with same name but different extension.

    So I'm getting better at using Automator to create useful Services but still a bit of a newbie with doing powerful things with AppleScript... and I think this task requires some applescripting. Here's what I want to do:
    1. Based on a selected text file I want to run a pre-existing script that converts this file into an HTML file. This new file has the same name as the text file but has the .html extension rather than the .txt extension. (This step is easy enough and it works just fine already.)
    2. BUT NOW, I want to take that resulting HTML file and run another pre-existing script that converts the HTML file into an RTF file. The problem is that I basically want to change the selection from selectedfile.TXT to selectedfile.HTML so that I can proceed to this next step...
    3. AND THEN, I want to launch an app with this resulting RTF file. Again, I need to change the selection to selectedfile.RTF.
    Right now this requires me to run three different services, and changing the selected file between each step... But I'm sure there's an easy applescript way (or other way) to do this using just one service -- probably involves some filename parsing and some magic to change the selection??? -- or something like that...
    Could anyone point me in the right direction???
    Thank you thank you thank you!
    ~zyyyy

    You can chain your scripts together - depending on the complexity of your pre-existing scripts, you could do this with either AppleScript or Automator. The workflow would just take the selected text file (from step 1), convert to both HTML (2) and RTF (3), then launch your application with the resulting RTF - no need to change any selection.
    By the way, this is the Tiger Automator forum - Snow Leopard's Automator is quite a bit different, so you will probably have better luck posting in the Snow Leopard forum.

  • Sharing files on same iMac under different users

    i have two different user accounts set up on my iMac and i want to be able to have the files from both accounts open to each other or either just merge them together.does anybody know how to help one way or the other?

    Transferring files from one User Account to another

  • Cp -R Command - Different number of Bytes in Original dir and copied dir

    Hi Experts,
    I have copied an Directory (49GB) using *cp -R +<Original file path> <new place>+* command.
    When i run du -c | grep total cammand in both original file and the copied filr below are the values,
    Original - 50998896
    Copied - 50999684
    Why it gives different values ??
    Do i need to use any other command to copy it ??
    Will it be a issue on taking backups ???
    Please help me ......

    Dude wrote:
    It works fine here, see below example:
    <pre>
    # mkfs.ext4 /dev/sdb3
    # mkdir /mnt/sdb3
    # mount /dev/sdb3 /mnt/sdb3
    # cd /lib64
    # tar -cf - . | (cd /mnt/sdb3; tar -xf -; sync)
    # du -s /lib64
    27072     /lib64
    # du -s /mnt/sdb3
    27088     /mnt/sdb3
    # du -s /mnt/sdb3/lost+found
    16     /mnt/sdb3/lost+found
    </pre>
    Do you have any hidden files on /extra/sdb6? Are you using the same filesystem? You can try the diff command to see what is different, e.g.:
    <pre>
    # diff /lib64 /mnt/sdb3
    Only in /mnt/sdb3: lost+found
    </pre>
    You can also use the cp copy command, but you will have to add some options to preserve file ownerships, timestamps, links, etc, e.g.:
    <pre>
    # rm -rf /mnt/sdb3/lib64
    # cp -pdr /lib64 /mnt/sdb3
    # sync
    # du -s /lib64
    27072     /lib64
    # du -s /mnt/sdb3/lib64
    27072     /mnt/sdb3/lib64
    </pre>
    Edited by: Dude on Dec 3, 2012 2:12 PMThis is what I got, still doing my investigation:
    [root@oracle-32 usr]# du -s /mnt/home/oracle/
    166996     /mnt/home/oracle/
    [root@oracle-32 usr]# du -s /extra/sdb6/home/oracle/
    175152     /extra/sdb6/home/oracle/
    [root@oracle-32 usr]# diff -r /mnt/home/oracle/ /extra/sdb6/home/oracle/
    Only in /mnt/home/oracle/.dropbox: command_socket
    Only in /mnt/home/oracle/.dropbox: iface_socket
    diff: /mnt/home/oracle/.pulse/5325b55a5d3c35d27a2aecaa00000021-runtime: No such file or directory
    diff: /extra/sdb6/home/oracle/.pulse/5325b55a5d3c35d27a2aecaa00000021-runtime: No such file or directory

  • How to use the same element in different photoshop files?

    It occurs to me often that I use the same element in different photoshop files, a header or footer shown in the example below. So when the footer changes in one document, I need to change this footer in every other single document.
    Is there a possibility to use some kind of template, one single document,  that can be placed in different files , which is still editable afterwards?
    Thanks in advance.
    I'm using Photoshop CS6

    In a single document you can have several pages and these pages may have headers and footers that share smart objects.  If you replace the contents of the an embedded smart object on one page page that is shared on an other page the pages you will see both pages contents are changed. For they share the common object.   It is also possibly to have independent smart object layers. It depends how you create the layers in the single document.
    Example one sharing a smart object hi-light a smart object layer and use menu layer>Duplicate Layer... This will create a second smart object layer that share a common smart object. Each layer has is own associated transform. Do it again and you will have three layers the share a common smart object. So you can use each layer associated transform to position and size the layers contents. Make a picture package for example. When you hi-light any of the three smart layers and you use menu Layer>Smart Objects>Replace Contents... all three layers contents will be replace with the new smart object.  Care must be taken to replace the smart object with an identical size object for only the object is replaced the three associated transform for the three layers are not replaced or changed.
    Example two independent smart objects  hi-light a smart object layer and use menu layer>Smart Objects>New Smart Object via Copy.  This will  create a second smart object layer that has it own embedded smart object copy.  Do it again and you will have three all have independent embedded smart object that are identical.  However they do not have to remain identical.  For example if the first smart object layer was created by using ACR to open a RAW file as a smart object layer the embedded object is a copy of the raw file and its associated RAW conversion settings.  Double clicking on one of the smart object layers and you will see ACR open on its embedded RAW file with the embedded RAW conversion setting.  Changing these settings will update the layer smart object content with new ACR setting and pixel when you click OK in ACR. Repeat for the third and you will find you have three different raw conversions in Photoshop you can mask and blend together to bring out detail.
    I think what your missing is that a smart object contains a copy of the original object.  Changing the original after creating a smart object layer in document will not effect the smart object layer at all. Its independant from the original having a copy of the original. Only changes to the smart object layer and its embedded smart object effect smart object layers.

  • Problem while copying two files into same file

    Hi,
    I want to copy n number of files into the same file.I am using the below code for the purpose.
    private void testFiles(){
              FileOutputStream fos = null;
              String file1  = "C:"+File.separator+"test1.doc";
              String file2 = "C:"+File.separator+"test2.doc";
              String file = "C:"+File.separator+"test123.doc";
              File testFile = new File(file);
              ArrayList arrFiles = new ArrayList();
              arrFiles.add(file1);
              arrFiles.add(file2);
              try {
                    fos = new FileOutputStream(file,true);
                   for(int i = 0; i < arrFiles.size();i++){
                        int ReadBytes = 0;
                        int BUFSIZ = 4096;
                        long fileSize ;
                        long copiedBytes=0;
                        String curFileName = (String) arrFiles.get(i);
                        File srcFile = new File(curFileName);
                        FileInputStream fis = new FileInputStream(srcFile);
                         fileSize = srcFile.length();
                        byte Buf[] = new byte[BUFSIZ];
                        while(copiedBytes < fileSize)
                             ReadBytes = fis.read(Buf, 0, BUFSIZ);
                             fos.write(Buf,0,ReadBytes);
                             copiedBytes +=ReadBytes;
                        System.out.println("copied files::"+curFileName);
                   fis.close();
                   fos.flush();
              } catch (FileNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } finally{
                   try {
                        if(fos != null){
                             fos.flush();
                             fos.close();
                   } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
         }Iam expecting that both the files will be copied sucessfully.But iam able to see only one file.But the file size of the destination file is the sum of both the source files copied.So that means the content is copied.Any ideas on possible causes/solutions.
    Thanks in advance.

    Hi,
    Just a thought, if you build a sequence of inputstream using SequenceInputStream something like that
                    String file1  = "C:"+File.separator+"test1.doc";
              String file2 = "C:"+File.separator+"test2.doc";
              FileInputStream s1 = new FileInputStream(file1); 
              FileInputStream s2 = new FileInputStream(file2);
              FileInputStream[] array = new FileInputStream[2];
              array[0] = s1;
              array[1] = s2;
              EnumerationImpl enumeration = new EnumerationImpl(array);
              SequenceInputStream sequence = new SequenceInputStream(enumeration);
                   //code here the read to go through the sequence of inputstream and write them  into FileOutputStream
    // and your Enumberation implementation class as below
    public class EnumerationImpl implements Enumeration<FileInputStream> {
        private FileInputStream[] array;
        private int index;
        public EnumerationImpl(FileInputStream[] array) {
            this.array = array;
        public boolean hasMoreElements() {
            return index < array.length;
        public FileInputStream nextElement() {
            if (index < array.length) {
                return array[index++];
            throw new NoSuchElementException();
    } Regards,
    Alan Mehio
    London, UK

  • Limit to number of files that can be moved or copied?

    I'm trying to move the contents of the "previous systems" folder (from my update to Leopard) to an external harddrive, but when I drag and drop the file name it starts the process but stays at "preparing to copy 16,850 items." It's still on that message in the dialogue box with the barber pole over an hour later.
    My question is: Is there a limit to the number of files that can be moved/copied at one time? Or does it just take a very long time?
    Thanks for any help.

    Thanks, Katy. I left it up all night and it was in the same place in the morning, so I'm assuming it isn't going to go what I need done in one fell swoop. I had to relaunch Finder before the dialogue box would go away.
    Moving all those files will have to wait, I guess, until I have enough time to break them into manageable chunks.

  • Powershell Script to Copy an Unknown number of Files in a Directory

    I need to be able to copy an unknown number of files in a folder to an FTP site.  I have the FTP components figured out and working, but am running into a problem when there is only 1 file for upload.  The folder is a queue that users manually
    copy files to, so i do not have control of how many files may be pending.  And the file names are always different.
    My script performs the following steps.
    1. Get a list of files in the directory with the a attribute.  (this prevents subfolders from being processed)
    2. Loop thru the list, copying each file.
    Here is my problem.
    no files. nothing happens. normal and expected
    2 or more files. all files upload correctly.  EXPECTED
    Filename returned from variable = "True".  File does not exist and upload fails.  ERROR
    This is what the script looks like. (There are several Write-Output statements for debugging purposes.
    $ftpUploadPath = "$ftpServer/claims/"
    $localUploadPath = "$localDir\claims\"
    $localSentPath = "$localUploadPath`Sent\"
    $listFile = "$localDir\uplist.txt"
    Write-Output "Uploading Claim files to $ftpUploadPath ..."
    #1 get list of claim files to upload
    $list = Get-ChildItem -Name $localUploadPath -Attributes a   
    Write-Output $list
    Write-Output " "
    #2 loop thru list and upload files
    if($list.Length -ne 0){
        #Write-Output "  Getting files from list"
        # download each file in the list
        foreach ($file in $list -cne "") {
            Write-Output $file
        } # end foreach file
    } #end if($list.Length)
    else {
        Write-Output "  No files for upload"
    } #end else($list.Length)
    Thanks in advance,
    Greg

    You are writing way too many lines for such a simple task. Try this:
    Get-ChildItem -Name $localUploadPath -Attributes a |
    ForEach-Object{
    Write-Host $_ -fore green
    $_
    \_(ツ)_/

  • Moving files with same name, different extension (automator?)

    I'm trying to find a way to move a large number of files in multiple directories (all at once or directory-by-directory, doesn't matter) if they have the same name but different extensions. For example, let's say I have a photo directory with the following files:
    Photo1.jpg
    Photo1.raw
    Photo2.raw
    Photo3.jpg
    Photo3.raw
    I would like to move the raw files "Photo1.raw" and "Photo3.raw" while leaving "Photo2.raw" in it's current location (as a sign that it doesn't have a JPG counterpart. I'm assuming this can be done using Automator. Can anyone offer some help? Also, it IS likely that the vast majority of files will have a common prefix (similar to "photo" in the above), if that's something that can be used.
    Thanks in advance.

    Anyone have an idea on how to accomplish this?

Maybe you are looking for

  • Problem in selection list associating component labels

    There is a "for" attribute on component labels to associate the label with a specific control. When popping up the list of components to associate a label with I expect the following: * A list of components from the current page. Instead there is a l

  • Lost iCal info

    I backed up my computer, had memory upgraded, had OS reinstalled and when I synced up my iphone I lost all of my calendar info. I tried going back to Time Machine to put it back but I don't know how to do it. HELP!!!! You can email me directly at [em

  • How send mail from forms 10g

    hi all, can any help in this, i want send a mail from forms 10g,how??? thanx in advace, chands

  • Update "rendered" attribute via ajax

    Is there a workaround to update the "rendered" attribute of a commandLink via AJAX? I'm getting an error 'malformedXML: During update: j_idt12:prevCmd not found'. code snippet: <h:commandLink action="#{controller.previous}"                           

  • Plug-in file in premiere pro is lost

    I have a really big problem. When I go on: Program files - Adobe - Common. Then there is no file. I need the file plug-in. Normaly the file is in there. Please help me