Robocopy Log Shows All Files Copied but Folder Properties Different on Source and Target
Hi,
I'm replacing an old 2003 R2 server with a 2012 R2 server and moving data to it. I used robocopy to migrate data. No users are currently accessing the source so there are no open files by users.
The source folder is:
27.9 GB with 194,490 files and 14,273 folders.
Robocopy copied the data and reported no errors but the destination folder only has:
24.6 GB with 181,487 files and 14,167 folders.
I ran robocopy twice more. Each time, the log shows that it skipped 14,273 directories and 194490 files.
So robocopy believes the source and destination directories are in synch. But the properties of the directory show me different numbers. Any ideas? I need to move a few more TB of data and be confident that everything copied.
Here's the command I'm running:
robocopy \\server-old\d$\data \\server-new\d$\data /E /COPYALL /DCOPY:T /R:5 /W:3 /TEE /V /LOG:D:\Logs\log1.log
Thanks,
Greg
Hi,
Thanks for your post.
As far as i know, system Volume Info and Recycler are NOT transferred when you use robocopy to transfer all the files/folders from one drive to another.
And Robocopy has switch "/MIR" which you can use to Mirror a complete directory tree if required.
https://technet.microsoft.com/en-us/library/cc733145.aspx?f=255&MSPPError=-2147217396
Regards.
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Similar Messages
-
Show all files in a folder, whether in catalogue or not
New User to Elements 9 but heavy user of other photo editing software.
Have significant investment of time in a structured folder/file organization with thousands of photos. Now having experimented with the organizer, moving stuff in the organizer, moving files with Windows explorer, adding new files external to the organizer, moving files elsewhere as any user should be able to do, I've got a total mess.
Why can't I see ALL the photos that are in my folder (or subfolder). Instead the organizer gives (in folders view) what it thinks SHOULD be in my subfolder, but when I go to Windows explorer there are many files in the subfolder that are NOT SHOWING UP in the organizer folder view.
How do I get organizer back to showing what is actually in each subfolder?
Is Photoshop telling me that I can't move photos around using other software?
Do I have any option in Organizer to actually see all my files as they exist in each folder?Now having experimented with the organizer, moving stuff in the organizer, moving files with Windows explorer, adding new files external to the organizer, moving files elsewhere as any user should be able to do, I've got a total mess.
Organizer is not a file browser, and wasn't intended to be a file manipulation software similar to Windows Explorer (although it has some of the same features as Windows explorer).
Why can't I see ALL the photos that are in my folder (or subfolder). Instead the organizer gives (in folders view) what it thinks SHOULD be in my subfolder, but when I go to Windows explorer there are many files in the subfolder that are NOT SHOWING UP in the organizer folder view.
Because Organizer is not a file browser. It only knows about the photos you have imported. It does not know about any other photos.
How do I get organizer back to showing what is actually in each subfolder?
Import all the photos in the folder into Organizer.
Is Photoshop telling me that I can't move photos around using other software?
No, its not telling you that. You can move your photos using any other software you want, but it will screw up the links in Organizer, essentially making Organizer unusable for those photos until you fix the links (File->Reconnect). So while it is probably not a good idea to move photos using other software, you can if you want to, as long as you are willing to do the work in Organizer to reconnect.
Do I have any option in Organizer to actually see all my files as they exist in each folder?
I think I answered that one already
Bottom line: if you want to use Organizer as a "replacement" for Windows Explorer, and to continue to do your organization via folders, don't bother, Organizer is a waste of your time in this case. It isn't as capable as Windows Explorer. Organizer was designed to give you better tools (and different tools) than Windows Explorer to organize photos. If you want to use Organizer for the purpose it was intended for, you will begin adding tags and captions and notes to your photos and stop moving photos/folders from here to there. Organizer allows you to assign multiple keywords to your photos, but Windows Explorer allows each photo to be "organized" into one and only one folder. Organizer allows you to search in almost unlimited ways, once you assign tags and captions and notes, while Windows Explorer has very limited searching. -
Recovered data show normal file size but icon is different and wont open
We recently had an old lacie drive go bad. got dropped one too many times or whatever.. not our fault but its for an important client.. drive had 200 GB of files.. a lot of stuff.. we took it to recovery and returned 80GB.. not bad.. among the recovered files were the ones we wanted.. and more... more than half retained their full file name.. so we know... but usually the icon for audio file is two red and blue waves. when we saw the icons that we had tried to save on the main computer they were black and white. but they still portrayed
37.6 MB.. like a full normal file... on the recovered data we see the same file size, but the icon is a blank paper with the corner folded over.. we try to import it to pro tools but it wont import.. i think it was recorded in logic but i doubt that matters.. its just audio... im sure the proper info is in there but we have to get the applications to recognize it.. we tried opening it in different apps, but it simply wont.. is it an extension problem? will restore fix it? how should i do it? i appreciate any help!i tried changing the extension. i changed the icon but it still wont open. the files are sd2f. apple info will not allow a test sounding. sample and bit rate are not displayed. i gotta get these to open up. what should i do?
-
Adobe Bridge Doesn't show all files in a folder
I am using a MacPro with 8GB of Ram and 1TB HD running Mountain Lion. I have a network folder that has about 320 GB of files in it. This is spread out between about 255 different Illustrator files. When I view them in Finder, all the files show up. When I view them in Bridge, I can only get 200 to show up. If I click refresh, it goes to a different number. If I repeat, it changes again. This worked on the old Machine but doesn't seem to work on the New one. I'm guessing its a setting but can't seem to find that particular one. Has anyone ran into this? Any ideas?
Thanks!I'm guessing its a setting but can't seem to find that particular one. Has anyone ran into this? Any ideas?
While Bridge is not assigned for use over a network your problem seems cache related to me. When in a problem folder go to the menu tools / cache / and choose purge cache for folder and see if this helps you. -
Hi,
I uploaded and synchronized new files with the server. The files are showing in my server view - every single one.
However, somehow, I can't see them at the site URL address.
The only thing that is showing there, are the older files for this site, and only one page.
Does anyone know what went wrong? ... and how to fix it?
Thanks> so was assuming that the system will put things in the right place, and not create a new file with the same name ???
It will put the files where you tell it to -- where you've defined based on local/remote site definitions.
It's not technically possible to have two files with the same name in the same folder. Check that the case are identical - Unix systems are case sensitive. -
I have just bought a new computer and downloaded the latest version of itunes. It has all installed fine, but when I plug my ipod and sync it, the music library shows all the songs and videos that are on there, but won't let me play them. Also, I can't add any new songs to the same library. It saves them elsewhere. I have had the previous version on another computer and it worked just fine. I have been online trying to find an answer but nothing. Hope someone can help me. Thanks
Installing iTunes does not cause content to magically appear on the computer.
Your media is only where you put it.
iOS devices are not backup devices.
Copy the media from the old computer to the new computer. -
# Question
It's not just Download Helper v4.8.3, it's also RealPlayer: the download display window shows .mp3 files downloading, but nothing shows in the folder when it is done downloading.
Also in the '''Properties''' window of Windows Explorer I '''no longer have the Details tab''', so I can't update my mp3 files with Artist, Album, Genre, etc. But the details tab does show up when I access it thru Windows Explorer.
I ran the AVG rescue disc an no viruses found. Now on '''FF3.6.15''' '''RealPlayer''' shows when I right click but then '''immediately disappears and an icon appears in the System Tray''', but as soon '''as I hover my mouse over it it disappears'''.
Does anyone have any ideas or suggestions?
How can I get this fixed? I have time-sensitive mp3s that I won't have access to anymore if I don't get this resolved in a hurry. (no pressure on you, I'm the one that's stressed about this) Can you help? Thanks so much for responding to this '''inquiry.''''''bold text'''See:
*https://support.mozilla.com/kb/Downloads+window
*Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember download history" -
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. MitchellAny solution?
Good Luck.
My
Si
tes -
fail to copy mov /videon file over 400mb from iphone 4s to my pc(shows 0kb after copy), but those below 400mb can be copied successfully
Sorry, even over 350mb fails
-
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 -
Hello,
I have a foreach loop in SSIS (as part of Visual Studio 10 and with SQL Server 2012).
It loops over all files in a folder (ForEach File Enumerator).
I set the folder: OK
Traverse Sub folders: OK
I have set up a Variable in Variable Mappings called FileName so it shows User::FileName: OK
Index of variable is 0: OK
It almost works ok. Except that the first file it finds is never considered.
I set a breakpoint then and the first file it finds, is shown in black in the watch variable window. All subsequent files found are shown in red font. When I change the names of the files so another file is the first file found then it skips the other one
which now is the first file.
What is going on here? Why does SSIS skip the first file it finds in a foreach file loop?
Any suggestions highly appreciated.
Thank you
Andi
Andreas"red font - interesting, any example to show us (image)
It would be interesting to share with us whether you use any file masks or expressions.
Arthur
MyBlog
Twitter
It appears a variable value turns red when it changes between breakpoints. It started black for the first value (the first file, obtained BEFORE the execution reached the breakpoint), and then turned red. I was able to reproduce this behavior on a test environment.
However, it did not skip any files.
OP, please set up the test shown in the image below. Create a breakpoint in the sequence container for the "OnPreExecute" event. -
Add all files of one folder to aperture by running a script
HI,
i have a question:
I will make my Aperture Tethered more easy (with my Canon eos 30D) i have coded a script / folder action to do this but: this folder action does not import all pictures (wy ever, i think that the files coming in to fast were not recognized).
Now i will code a script which will include all files of a folder to aperture when it is run.
i will give it a try, and the import does function, but, i don't know how i can tell the script which files it should import (with a folder action its easy, with this line:
on adding folder items to this_folder after receiving these_items
but how to do this without the "on adding folder items" cause that does not happen in the case i will use it.
i'm looking forward to anthers:D
Best Regards
Christophyes i tryed this application, and there was the same problem as with my one (i have programmed my based on this application)
but both had the same problem they open on imageadd, but if i take more images in seconds (i think the script is still running => it can't recognize new images) it does not recognize the newly taken images.
and i hope some script that imports all images in the folder will solve the problem.
the more ore less only problem is to tell the application which images to import (like: on run import ALL files) -
installed latest icloud app on Windows 8.1 desktop, selected icloud drive but won't show in file explorer. Go back to icloud app and drive deselected. Can select and apply but whenever go back it's deselected again, any suggestions?
Click Photo Stream, look at upper on the right. u can see Open Folder. click there...
-
Photos that have been deleted to aperture trash cannot be viewed. Any assistance is welcome in fixing this bug. The showing all files option is selected in the filter. System is 10.8.4. Aperture version 3.4.5. Used to be able to view the files then all of a sudden they have stop appearing. Once the aperture trash is emptied the files can be viewed in the system trash. Becomes quite annoying if you want to review the aperture trash files before deletion.
Photos that have been deleted to aperture trash cannot be viewed ...
The showing all files option is selected in the filter.
Cookiemonster, previously Frank Caggiano's magic helped in this situation - have you tried the double, double Caggiano as described here?
Images not appearing in browser, search filter is cleared
https://discussions.apple.com/docs/DOC-3062
In the most recent version I cannot get this trick to work, however. But try it anyway, maybe it is just my macthat has an issue.
Did this happen directly after the update? Where is your library located, on an external or an internal drive? Are your originals managed or referenced?
I'd try next to check, if this is caused by the library, by creating a small test library and trying to trash pictures there. If it works well in a new library try to repair the database and the permissions on your regular library. See:
http://documentation.apple.com/en/aperture/usermanual/index.html#chapter=27%26se ction=10%26tasks=true
Regards
Léonie -
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.
Maybe you are looking for
-
Crystal generates empty pages for a datasource with a lot of data
Hi, I hope someone have some hints to solve my problem with generating large reports. I have SAP Crystal Reports runtime engine for .NET Framework 4 32-bit installed on my Microsoft Windows 2008 R2 Enterprise Server. Since I update Crystal Reports to
-
How the business partner data is created in EB
Hi How the business partner data is created in EB ( SRM). thanks sankar
-
Does anyone know how I can improve the performance of starting partitions on Open VMS? I am testing an application which has 5 partitions and it takes a very long time for them to start. The environment manager and repository manager are on the same
-
A possible fix for adobe reader icons on windows 2000 with SP4
*This is not a problem! I am posting here because I have received help from some other part of this problem and I have read in other places where people have problems with making the pdf icon appear.* If the icons won't show after installing adobe re
-
Are there any useful Eclipse plug-in for building project with Servet,JSP,Web Services,XML,UML. Can u introduce me some and give out the download address?