Using robocopy to copy folder structure only
Hello,
I'm trying to do the equivalent of xcopy /t /e in robocopy. That is, I only want to copy the folder tree, not the files themselves.
-Charlie
Glad to hear your issue has been solved.
Regards,
Leo
Huang
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Similar Messages
-
Aperture only sees MOVs in SD card copy folder structure
I copied a couple of SD cards to hard disk and trying to import images only shows the Movs which are in H.264 MTS file packages and completely ignores JPG images in the folder structure root and DCIM folders. All seems very random as not all MOVs are shown anyway (Quicktime handles packages perfectly).
It's obviously no big deal and just requires some finder foot work but I see more and more vague behaviour from all Apple products these days.Thanks - reading directly from SD card shows images but many of the movies are still missed. Basically all a bit random - less than useless for a professional tool were users may rely on dumping card contents into a library before reuse.
-
ACL / ACE - Copy folder structure including all rights
Dear readers
A question about the proper settings in ACL/ACE for to copy a given folder structure incl. all ACL/ACE rights.
Situation:
On a OS X server, the admin user did setup a sample structure of folders and files with the corresponding access rights.
Now this folder structure has to be accessible for the "normal" users in a shared folder.
This sample folder must be secured against changes from "normal" users BUT if it is copied it must keep all the set access rights.
Question:
What's the best way to do so?
1) Set the protected flag of the most top level folder of this sample structure folder set at it's done?
2) Use of a Apple Script to achieve this?
3) Use of a Bash Script to achieve this?
4) Can only be done as the admin user which did setup this structure?
5) Other best effort suggestions to achieve this?
Known things:
- chmod is involved to do it on terminal
- It must be possible as the system does something similar when a new user is created.
Thank you in advance for anyones help and suggestions.
Any note and suggestion for easy-to-read and illustrated documentations are welcome.
Kind regards
ThoTake a closer look at the ditto(1) man page in Terminal.
-
Copy Folder Structure from Explorer into Outlook 2013
Hi,
I have just spent approx 3 months designing an Enterprise Classification Scheme, and built a folder structure in Explorer that I want to replicate in Outlook.
I thought it would have been as simple as copy and pasting from Explorer to an Outlook folder however when I attempt to do so I get the following error:
"Only files or objects can be attachments. x:\xxxx\xxxxx\xxxxx is a folder structure and cannot be attached."
Surely there must be a simple way of doing this so I don't have to manually recreate and name 442 folders in Outlook.
Any advice greatly appreciated.I tried the Outlook tool with no luck. It ran and looked as though it was doing something but no folders were created.
I did a bit more of a search around and came across a spreadsheet that works perfectly for making folder structures on Network drives. Anyone up to having a look at the VBA in the spreadsheet and modifying it to make shared folders in outlook
2013?
Sub CreateFolderStructure()
'Create folder for all vlues in current sheet
'folders will be created in folder where the excel file was saved
'folders will be created from first row, first column, until empty row is found
'Example expected cell structure: (data starting in current sheet, column A, row 1)
'folder1 subfolder1 subsubfolder1
'folder2
'folder3 subfolder3
' subfolder4
'this will result in:
'<currentpath>\folder1\subfolder1\subsubfolder1
'<currentpath>\folder2
'<currentpath>\folder3\subfolder3
'<currentpath>\folder3\subfolder4
baseFolder = BrowseForFolder
If (baseFolder = False) Then
Exit Sub
End If
Set fs = CreateObject("Scripting.FileSystemObject")
For iRow = 2 To 6500
pathToCreate = baseFolder
leafFound = False
For iColumn = 1 To 6500
currValue = Trim(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Worksheets(ActiveCell.Worksheet.Name).Cells(iRow, iColumn).Value, ":", "-"), "*", "-"),
"?", "-"), Chr(34), "-"), "<", "-"), ">", "-"), "|", "-"), "/", "-"), "\", "-"))
Worksheets(ActiveCell.Worksheet.Name).Cells(iRow, iColumn).Value = currValue
If (currValue = "" And leafFound) Then
Exit For
ElseIf (currValue = "") Then
parentFolder = FindParentFolder(iRow, iColumn)
If (parentFolder = False) Then
Exit For
Else
pathToCreate = pathToCreate & "\" & parentFolder
If Not (fs.FolderExists(pathToCreate)) Then
CreateDirs (pathToCreate)
End If
End If
Else
leafFound = True
pathToCreate = pathToCreate & "\" & currValue
If Not (fs.FolderExists(pathToCreate)) Then
CreateDirs (pathToCreate)
End If
End If
Next
If (leafFound = False) Then
Exit For
End If
Next
End Sub
Function FindParentFolder(row, column)
For iRow = row To 0 Step -1
currValue = Worksheets(ActiveCell.Worksheet.Name).Cells(iRow, column).Value
If (currValue <> "") Then
FindParentFolder = CStr(currValue)
Exit Function
ElseIf (column <> 1) Then
leftValue = Worksheets(ActiveCell.Worksheet.Name).Cells(iRow, column - 1).Value
If (leftValue <> "") Then
FindParentFolder = False
Exit Function
End If
End If
Next
End Function
Function BrowseForFolder(Optional OpenAt As Variant) As Variant
'Function purpose: To Browser for a user selected folder.
'If the "OpenAt" path is provided, open the browser at that directory
'NOTE: If invalid, it will open at the Desktop level
Dim ShellApp As Object
'Create a file browser window at the default folder
Set ShellApp = CreateObject("Shell.Application"). _
BrowseForFolder(0, "Please choose a folder", 0, OpenAt)
'Set the folder to that selected. (On error in case cancelled)
On Error Resume Next
BrowseForFolder = ShellApp.self.Path
On Error GoTo 0
'Destroy the Shell Application
Set ShellApp = Nothing
'Check for invalid or non-entries and send to the Invalid error
'handler if found
'Valid selections can begin L: (where L is a letter) or
'\\ (as in \\servername\sharename. All others are invalid
Select Case Mid(BrowseForFolder, 2, 1)
Case Is = ":"
If Left(BrowseForFolder, 1) = ":" Then GoTo Invalid
Case Is = "\"
If Not Left(BrowseForFolder, 1) = "\" Then GoTo Invalid
Case Else
GoTo Invalid
End Select
Exit Function
Invalid:
'If it was determined that the selection was invalid, set to False
BrowseForFolder = False
End Function
Sub CreateDirs(MyDirName)
' This subroutine creates multiple folders like CMD.EXE's internal MD command.
' By default VBScript can only create one level of folders at a time (blows
' up otherwise!).
' Argument:
' MyDirName [string] folder(s) to be created, single or
' multi level, absolute or relative,
' "d:\folder\subfolder" format or UNC
' Written by Todd Reeves
' Modified by Rob van der Woude
' http://www.robvanderwoude.com
Dim arrDirs, i, idxFirst, objFSO, strDir, strDirBuild
' Create a file system object
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Convert relative to absolute path
strDir = objFSO.GetAbsolutePathName(MyDirName)
' Split a multi level path in its "components"
arrDirs = Split(strDir, "\")
' Check if the absolute path is UNC or not
If Left(strDir, 2) = "\\" Then
strDirBuild = "\\" & arrDirs(2) & "\" & arrDirs(3) & "\"
idxFirst = 4
Else
strDirBuild = arrDirs(0) & "\"
idxFirst = 1
End If
' Check each (sub)folder and create it if it doesn't exist
For i = idxFirst To UBound(arrDirs)
strDirBuild = objFSO.BuildPath(strDirBuild, arrDirs(i))
If Not objFSO.FolderExists(strDirBuild) Then
objFSO.CreateFolder strDirBuild
End If
Next
' Release the file system object
Set objFSO = Nothing
End Sub -
Trouble using cfincludes with multi-folder structure
We are rebuilding our site using <cfinclude> to pull in
standard headers and footers for each page. The headers and footers
each have many links in them. How can we deal with the fact that
the pages calling the cfincludes are not all at the same level in
the folder structure? How can we create one include file for the
header and one include file for the footer that can each be used
throughout the site regardless of the level in which the calling
page is located? Thank you.
Cheers!
JamesHow can we create one include file for the header and one
include file for the footer that can each be used throughout the
site regardless of the level in which the calling page is
located?
Create the one header.cfm and the one footer.cfm. Include
them in Application.cfm/OnRequestEnd.cfm or in Application.cfc. -
I have a folder structure of Months (01-January, 02-February, etc.) setup under each year folder.
Is there a way in Aperture to create a folder structure template and copy that structure to a new folder, as the new years need to be setup?You can do this for Projects by setting up you Folder and Album structure in an empty Project, exporting it, and then importing it again each time you need a new copy, but not for Folder structures outside of Projects.
But if you download the Aperture-InDesign integration examples from http://www.apple.com/applescript/aperture/indesign/ there are a couple of example scripts for creating organisational structures that you might be able to tweak.
Ian -
Use Applescript to create folder structure from Numbers document
Hello All,
I know this is possible and I am feeling close - I just couldn't find a post that addressed the issue I am having exactly. Essentially I have a client list with 211 business names in it. I am trying to create a script that will scan the first column of my Numbers document and create a folder structure from that list. I found a post on another website that gave me a rough template and this is where I am at:
set destinationFolder to "MacHD:/Users//Documents/Work/Customers/:to:folder:"
tell application "Numbers.app"
set theCells to value of range "A1:A211" of active sheet
end tell
repeat with oneCell in theCells
tell application "Finder" to make new folder at folder destinationFolder with properties {name:item 1 of oneCell}
end repeat
When I run this I get "Expected end of line but found class name." and in the result window it display "
error "Can’t get value of range." number -1728 from «class NMCv» of «class NmCR»"
I am completely new to this and don't really know how to debug. Any help would be appreciated! Thank you so much!
AdamHere is an enhanced version which no longer use a loop to extract the selected values.
--{code}
set destinationFolder to "MacHD:/Users//Documents/Work/Customers/:to:folder:"
tell application "Numbers.app"
set theCells to value of range "A1:A211" of active sheet
end tell
repeat with oneCell in theCells
tell application "Finder" to make new folder at folder destinationFolder with properties {name:item 1 of oneCell}
end repeat
set destinationFolder to "" & (path to desktop) & " dossier"
Select the range of source cells then run the script *)
Grab parameters describing the selected cells *)
set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
Extract the names from the selected cells *)
tell column colNum1
set theNames to value of cells rowNum1 thru rowNum2
end tell -- column
end tell -- Numbers
I always do my best to use System Events which is faster than the Finder *)
tell application "System Events"
repeat with aName in theNames
try
make new folder at end of folder destinationFolder with properties {name:aName as text}
end try
end repeat
end tell
--=====
set { dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
on get_SelParams()
local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
tell application "Numbers" to tell document 1
set d_Name to its name
set s_Name to ""
repeat with i from 1 to the count of sheets
tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
if maybe is not 0 then
set s_Name to name of sheet i
exit repeat
end if -- maybe is not 0
end repeat
if s_Name is "" then
if my parleAnglais() then
error "No sheet has a selected table embedding at least one selected cell !"
else
error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
end if
end if
tell sheet s_Name to tell (first table where selection range is not missing value)
tell selection range
set {top_left, bottom_right} to {name of first cell, name of last cell}
end tell
set t_Name to its name
tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
if top_left is bottom_right then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
end if
end tell -- sheet…
return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
end tell -- Numbers
end get_SelParams
--=====
on parle_anglais()
return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
end parle_anglais
--=====
--{code}
Here is an alternate version of the piece of code extracting the values :
--{code}
Grab parameters describing the selected cells *)
set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
Extract the names from the selected cells *)
set cell1 to name of cell rowNum1 of column colNum1
set cell2 to name of cell rowNum2 of column colNum1
set theNames to value of cells of range (cell1 & ":" & cell2)
end tell -- Numbers
--{code}
Yvan KOENIG (VALLAURIS, France) mercredi 25 janvier 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k -
Using robocopy to copy files from a network share over a WinRS command line session
Hello,
Preface: Using server 2008 enterprise.
I can't seem to get robocopy to function over WinRS and I'm not sure where the problem actually lies. Running robocopy locally on the computer does work fine, but as soon as I try to run it through a remote command prompt through the WinRS client or directly with the WinRS client I get an access denied message (error 5).
I've tried using runas while logged into the remote command prompt as well, thinking that it could have been some sort of permissions inheritence issue.
I've checked the permissions on the remote file share, I've even given 'Everyone', 'Anonymous Logon' and the computer's active directory account full control over the folder and the file I'm trying to copy, but still get the access denied error.
I've tried using /COPY:DT since I read that usually resolved error 5 issues.
None of these things have worked.
I'm kind of out of ideas, I've read some blogs of people who have written powershell scripts which use winrm/robocopy so I figure I'm missing something stupid. Or maybe I've stumbled upon a bug?
C:\>robocopy \\192.168.100.1\share c:\test example.exe
ROBOCOPY :: Robust File Copy for Windows
Started : Mon Feb 09 17:35:32 2009
2009/02/09 17:35:32 ERROR 5 (0x00000005) Getting File System Type of Source \\192.168.100.1\share\
Access is denied.
Source - \\192.168.100.1\share\
Dest : c:\test\
Files : example.exe
Options : /COPY:DAT /R:1000000 /W:30
2009/02/09 17:35:32 ERROR 5 (0x00000005) Accessing Source Directory \\192.168.100.1\share\
Access is denied.Yep, I verified permissions on them all :(
To maybe complicate the issue, I looked at the environment variables for myself while logged in locally to the computer and through WinRS and they look to be the same.
EDIT: Out of pure frustration I wrote a quick console application which impersonates the currently logged in user and copies a file from the network share I'm trying to access to the local computer. The application properly impersonates the user - but does not copy the files while it's run through WinRM. When you run the application as a locally logged in user it works just fine.
WinRM must be behaving goofy :(
This is the output of the following application:
C:\Windows\System32>test.exe
Name: domain\loggedinuser
IsAuthenticated: True
User: {GUID}
AuthenticationType: Kerberos
Destination directory doesn't exist, creating new directory..
Undoing impersonation..
No exceptions, no nothing :(
Imports System.IO
Imports System.IO.File
Module Module1
Dim impersonationContext As System.Security.Principal.WindowsImpersonationContext
Dim currentWindowsIdentity As System.Security.Principal.WindowsIdentity
Dim cpr As New copyProgress(AddressOf FileCopyProgress)
Dim destinationDir As DirectoryInfo = New DirectoryInfo("c:\destination\")
Private Delegate Function copyProgress(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32
Private Declare Auto Function CopyFile Lib "kernel32.dll" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal lpProgressRoutine As copyProgress, ByVal lpData As Int32, ByVal lpBool As Int32, ByVal dwCopyFlags As Int32) As Int32
Private Function FileCopyProgress(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32
End Function
Private Function FileCopyProgress2(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32
End Function
Sub Main()
Try
currentWindowsIdentity = CType(System.Security.Principal.WindowsIdentity.GetCurrent, System.Security.Principal.WindowsIdentity)
impersonationContext = currentWindowsIdentity.Impersonate()
Console.WriteLine("Name: " & currentWindowsIdentity.Name)
Console.WriteLine("IsAuthenticated: " & currentWindowsIdentity.IsAuthenticated)
Console.WriteLine("User: " & currentWindowsIdentity.User.ToString)
Console.WriteLine("AuthenticationType: " & currentWindowsIdentity.AuthenticationType)
If Not destinationDir.Exists Then
Console.WriteLine("Destination directory doesn't exist, creating new directory..")
destinationDir.Create()
End If
CopyFile(Path.Combine("\\192.168.100.1\share\", "example.exe"), Path.Combine("c:\destination\", "example.exe"), cpr, 0, 0, 0)
Catch ex As Exception
Console.WriteLine(ex.ToString)
Finally
Console.WriteLine("Undoing impersonation..")
impersonationContext.Undo()
End Try
Console.ReadKey()
End Sub
End Module -
Robocopy on Windows Server 2008 SP2 does not copy folder permissions
When using Robocopy to copy folders and files from one local hard disk to another, using /COPYALL /E /TEE options, the target folder does not contain the source folder's ACL. I've tried other options such as: /COPY:DATSOU or /SECFIX, it made no difference.
Test scenario: Create a folder on C:, Test1. Add to Test1's permissions a local group with Read, e.g. Backup Operators. The ACL list should have permissions inherited from C:\ plus Backup Operators that's not inherited. Use Robocopy to copy Test1 to C:\Test2, check the ACL on Test2. Backup Operators is missing.
It looks like Robocopy cannot override the target folder's permissions inheritance, the folder retains the parent folder's ACL.
I've also disabled User Access Control in troubleshooting this problem.
To add to this issue, there's a workaround can be used to ensure the target folder's ACL is the same as the source folder's ACL. It's a two step process.
1) Use XCOPY source_folder target_folder /I /E /X /T - This lays down the directory structure including the ACLs
2) Use ROBOCOPY source_folder target_folder /COPYALL /SECFIX /E - This will copy over the directories and files, enforcing the files to receive the parent folder's ACL. The target_folder's ACL remain intact, unaltered from XCOPY command.
The end result: the target_folder ACL is identical to the source_folder ACL, the files copied to the target_folder will inherit ACL from their parent folder. Both source and target folders and files ACLs are identical.
ROBOCOPY should do both steps, but doesn't. I've tested this scenario on bare-bones Windows Server 2008, physical and virtual machines.
Darryl MillerTo Wendy23,
Just for clarity, the Windows Server 2008 OS that I ran ROBOCOPY and XCOPY on was the non-R2 version. Microsoft might have fixed this issue in R2.
You'll probably need to logon as local Administrator or use an account belonging to the local Administrators group.
Also, open the Command Prompt using "Run as Administrator" (right-click on Command Prompt), then run the XCOPY and ROBOCOPY commands from within this prompt.
To answer G.Write, the storage is local hard disks.
Thanks, was a long time ago, I was having a problem with robocopy not copying permissions on a SAN, and was wondering if the SAN was the problem, but your method worked fine for me, thanks. -
After migrating my share using robocopy destination share ends up being read only
I'm trying to migrate a share from a old fileserver to a windows server 2008. I use robocopy to copy and it seems like it copies the permissions and all of the data. I have done this at least 5 times (i checked the permissions and everything looks
the same as the source share) The problem is That the destination will become read only and i cannot take it off read only.
this is how im copying the share
robocopy C:\source D:\destination /mir /sec /r:1 /w:1
ive also tried it with /secfix ive also tried /a-:r
same result
its kind of like this
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Q_24775274.htmlHi,
I think it is caused by design.
In new systems, customized folders will show as Read Only and it will not cause any problem in accessing. See this article:
You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7
http://support.microsoft.com/kb/326549/en-us
If you still would like to uncheck the mark, see the steps provided in above article with the command "attrib".
If you have any feedback on our support, please send to [email protected]
it does cause problems accessing the data. user's are unable to save anything on the share when this happens. any solutions? -
Migrate data to new folder structure
I need to migrate a lot of data to a new folder structure, one of the things I will have to deal with is file paths which are too long.
To copy the data I have made a powershell script which uses robocopy to copy all data.
Of course I do not want to have disruption in this process (or the least disruption possible), what can I do to prevent issues with long file paths ?
Is there an easy way to modify my script and detect issues with long file paths ?
What would be the way to go preventing many copy errors during the robocopy action and fix possible issues before starting ?There are utilities out that (free / not free) that you can run and it will give you a report on which folders are too long. What I did was, I would take the results in the report and email it to an admin assistant or some type of key person in each
department, and they would fix the problem. Once I had them all done, then I would do the migration. -
Mass uploading of folder Structure?
Dear Expert,
As per client requirement, we needed feasibility of Upload of multiple documents with folder structure. Suppose we had folder structure with different files in folders available in CD, which we wanted to copy/create folder structure in Content server as available in CD. Is there any BAPI is available.
While Searching for this requirement I found bapi_document_create2 u2026.but I want to know with this can I directly copy folder structure available in CD to Content Server.
I wanted to know, as per requirement will it be possible to create folder structure from CD?
Thanks in advance..Hi Sam,
as explained in your SAP customer message the BAPI_DOCUMENT_CREATE2 could be used for this requirement. If you want to hand over document structure data please fill table DOCUMENTSTRUCTURE. For further information on the BAPI functionalities please see SAP note 766277.
Best regards,
Christoph -
Spent hours trying to figure this out - no luck!
I have a video tutorial course that I would like to be able to view on my iPhone, the only problem is that it is broken down into 6 folders - 1 for each subject.
And if I add the whole course to be synced via iTunes it gets copied ok. But it loses the original folder names that the files are stored in on my PC
ALL the videos files copied to the iPhone are bunched togeather in the Video app and it takes forever to figure out which one comes next.
How can I maintain the original folder names/structure that the files are stored in on my PC on the iPhone?To follow how I solved this it might be good to know what I started with:
I have a main folder which I called 'Music Theory' and 6 sub-folders: 101, 102, 103, ....etc.
with up to 20 or so videos in each one.
Note: Only import one sub-folder at a time into iTunes and then do all the following actions BEFORE importing the next sub-folder:
Add only 1 sub-folder to the 'Films' section in iTunes (either drag and drop or use the File - Add Folder to Library).
Select all the imported videos (hold down the Ctrl + A keys on the keyboard simultainiously).
Right click and select 'Get Info'
Then you may get a pop-up with this text but just click the 'Yes' button:
You should now have the 'Multiple Item Information' window showing. Click on the 'Options' tab and edit as below:
Tick: 'Media Kind' and from the Drop Down Box choose: 'TV Programme'
Tick: 'Part of a Compilation' and from the Drop Down Box choose: 'Yes'
Tick: 'Remember Position' and from the Drop Down Box choose: 'Yes'
Now click on the 'Video' Tab of the 'Multiple Item Information' window and edit:
The 'Programme' text field (I entered Music Theory) This will be the main heading for all the folders that I want to add to this series.
The 'Series' text field (I entered 101 for the first sub-folder)
Now click the 'OK' button.
iTunes now starts processing all you have done and moves the vildeos to the 'TV Progammes' section.
The first part is now done!
Now you should repeat all the actions you have done from the start on each sub-folder you want to include in this Video collection, then when you've done that you can upload the lot to your device (iPhone in my case) with this last step:
All you need to do now is select your device under 'Devices' in the left hand menu and tick the 'Sync TV Progammes' box in the 'TV Progammes' section and select the series that you want include in the right hand area. And then click 'Apply' and now your done!!! :-) -
Robocopy not copying the folder creation date
We migrate the data between 2 Windowsfile servers using robocopy and it works finew ith issues. Only issue is it doesnt copy the folder creatiopn date from source to destination server, it does copy the file creation date without any issues. Command
we use is as below.
robocopy.exe %1 %2 /COPYALL /MIR /ZB /R:10 /W:2 /TEE /DCOPY /LOG+:robocopy_%3.log
This command is called using a batch file where we specify the source and destination using the below syntax.
call Robocopy_Module.bat "C:\Backup" "C:\Restore"
Kindly advise if this is normal behaviour , if not what is the correct command used to copy the Folder creation dates.I was using like this
Go to CMD prompt,
RUN as Administrator
Type
robocopy "source path" "destination Path" / MIR
It will copy including time stamps.
or create seprate folder in a destination place and copy everything into that folder.
It will work. -
I have been struggling trying to setup Automator to move files and folder structure to another folder, retaining the destination contents. Basically, I need to add files at the destination, within the same folder structure that exists at the source. Here's some details about the scenario:
-I have PDF files that I create on a seperate computer than I my daily use machine
-For security reasons, the source computer doesn't have access to any shares on the destination computer
-The destination computer has access to shares on the source computer
-I want to delete the original PDFs at the source after they are moved or copied
I haven't been able to get Automator to move or copy the folder contents (files and subfolders) without dropping everything copied at the top level of the destination, resulting in many duplicate folders and a broken folder structure.
So far I've only had luck getting this to work at the command line, but I'd really like to have this setup in Automator so that I could have either a service or application that I could use for any folder, prompting for the source and destination folders. I'm a relatively new Mac user with limited Linux experience, so this is the command that I've cobbled together and currently accomplishes what I'm looking for:
ditto /Volumes/SMB_Temp/SOURCE ~/Desktop/Documents/DESTINATION
cd /Volumes/SMB_Temp/SOURCE
find . -type f -name "*.pdf" -exec rm -f {} \;
Thanks for any ideas!If you have a command-line syntax that works, why not just create an Automator workflow with a single 'Utilities -> Run Shell Script' action, where that action has your (working) shell commands?
Seems way, way simpler to me than trying to reinvent the wheel and transcribe shell commands into individual Automator actions
Maybe you are looking for
-
In one sequence I have dozens of Pre-Expressions which are almost the same thing, like this... Locals.tagID = (Parameters.singlePhaseEnabled ? "L" : "D") & Str(Locals.phase) & "006" ...and the only thing different is that three digit string at the en
-
SharePoint Workflow : Call HTTP Webservice action throwing Forbidden Error
Hi, I have configured workflow which takes value from one workflow variable and opens another List and creates a List item. I used these as reference: http://mysharepointinsight.blogspot.in/2013/05/using-sharepoint-rest-services-from.html and https:/
-
A year ago or so I was cleaning out my Mac and accidently deleted Pages. I don't remember what version it was, but it came with the iWork 09 pack. Since then I've been using Open Office (which has led to a lot of difficulties), so I asked my father f
-
Does adobe photoshop elements 12 have the command "create a facebook cover
does adobe photoshop elements 12 have the commande " creat" / facebook cover
-
Have a iTunes music player file that won't open through iTunes - help!
I downloaded a music file from the internet that is an iTunes music player file, and now when I try to import it to iTunes it won't open or even if I just try to open the file it brings up iTunes, but no music is opened or played. I've tried to chang