Copying folders of sym-linked clips between libraries...
Hi
Sorry, but just to be sure: Copying folders of sym-linked external clips between libraries will only reproduce the sym links, it won't copy the original file.
Correcto?
best
elmer
Your original statement was correct assuming it really is a sym link:-
"If the original is External Media, meaning linked to the Library, then only the link will be copied, not the physical original file". (Excerpt from Ben's article)
Similar Messages
-
Can't copy clips between libraries
I have a library of Shared clips. I try to copy a clip to another library and I get the Missing File indicator in the target library. Why?
Dear Goldwing TX,
Happy New Year, and welcome to the Support Communities!
I’m assuming you have updated your events and projects to the new library structure in FCPX 10.1. The documents below will provide detailed information on how to manage the data in this structure.
Final Cut Pro X 10.1: Updating and working with libraries FAQ
http://support.apple.com/kb/HT5958
Where does my media go after I update?
Media that you stored inside your original event is stored inside your new library. Media that was linked to an external folder and not copied inside your original event stays in that external folder and is linked to your new library.
Is media duplicated as part of the update process?
No. During the update process, Final Cut Pro creates links between the new Final Cut Pro 10.1 library and the media files in your old projects and events. If you delete your old project and event files, the media files remain in the new Final Cut Pro 10.1 library. If you delete the new Final Cut Pro 10.1 library, the media files remain in your old projects and events. By using these links, Final Cut Pro does not have to copy media files or use additional disk space.
Managing Media with Final Cut Pro X Libraries
http://www.apple.com/final-cut-pro/docs/Media_Management.pdf
Page 4 and Page 9 discuss Managed vs. External Media. Page 13 discusses the Consolidate command.
Managed or external media: Any source media (camera files, audio files, stills, or other movies) may reside either within the library file (as managed media) or outside the library file in a folder located anywhere on a hard disk or network. A managed library provides a convenient way to copy or move all of the media files associated with a single production.* External media, on the other hand, makes sharing media with multiple users easier. For example, you can store external media on shared storage
such as a storage area network (SAN).
If you want to share access to managed media, you can convert it to external media at any time using the Consolidate command. You can also use the Consolidate command to collect external media as managed media inside the library for easy transport or archiving.
For comprehensive documentation on Final Cut Pro X 10.1, including instructions for organizing your libraries and media, see Final Cut Pro X Help at https://help.apple.com/finalcutpro.
Cheers,
Judy -
How do you move events and projects between Libraries in iMove 10
I am running OSX 10.9.5 (Mavericks) & iMovie 10.0.5.
I am trying to free up space on my internal 1TB hard drive and want to archive events and completed projects onto an external hard drive, which has a second iMove v10 Library on. Under V9 of iMovie this function was easy, but I am struggling under V10.
What is the correct way to move events between libraries in iMovie.
When I attach the external drive containing my second iMovie Library, open it I can see all existing events stored (by move) under version 9 of iMovie.
Reading the Help (extract below) for this function it implies highlight the Event to move & then drag & drop into the second Library.
Shift+CMD with drag and drop onto the second library at the library name level will move Events that are not tied to a project, but for completed projects (Finalized under V9 or shared for example with iTunes in V10) it seems these can not be moved, the above function only copies them to the second library.
I have tried all different combinations of the Fn, Ctrl, Option CMD keys etc with and without SHIFT and the ones that work for this function only copy the event. I can not seem to get an event moved once attached to a project. File - Move Event will also move Events not tied to a completed project.
I have also tried copy to a second Library & then to delete the original events. Again it appears you can not delete events tied to a Project.
What I have also not been able to find is how to move a finalised Project to another Library and then see if events attached to that project would then move.
I have been able to move Events not tied to a Project to the second Library, then create a new project within this Library. This helps with all new projects & future import of Events. But does not help me free up current space by archiving.
Extract from help
Copy or move projects, events, or clips between libraries or storage devices
Connect a storage device that contains the target library to your Mac, or copy the target library to your Mac.
Choose File > Open Library, and choose an option from the submenu.You can choose from recently opened libraries, locate an existing library on your Mac, or create a new library.The selected library is opened in the Libraries list, with the first event selected and its contents displayed in the browser.
In the Libraries list, select the event that contains the item you want to move or copy.
In the browser, select the item you want to move or copy.Tip: To select multiple clips or projects in the same library, hold down the Command key as you click the items you want to select, or drag a selection rectangle around the items.
Do one of the following:
To move items between events or libraries: Drag the clip or project to another event or library.
To copy items between events or libraries: Option-drag the clip or project to another event or library by first starting to drag and then holding down the Option key as you drag.
Would appreciate any help on this matter.
Thanks
ColroyFurther to my original post below; I have done further analysis and it seams that if you have events tied to a project (mine are all finalised) you can not move events between Libraries. However, events that are not tied to a project can be moved. Either by Shift CMD or by using File- Move event.
What I have not been able to find is how to move a finalised Project to another Library and then see if events attached to that project would then move.
Copy works for events attached to a project. I have also tried copy to a second Library & then to delete the original events. Again it appears you can not delete events tied to a Project.
Does anyone know how to archive (move) Projects and/or events in iMovie 10.0.05 under Mavericks 10.9.5 to a second library on an external drive.
Thanks
Colroy -
I have two iPad 2 with separate iCloud accounts. I want to copy folders of weblinks from one iPad to the other. Email solution? Answer needs to be written for a user who doesn't know how to select a folder or a number of icons and email or copy them to something that can be emailed. I know how to do it one at a time by opening weblink and then emailing the link from safari.
Good idea. I've already used the feedback for my general suggestions to improve the way Apple handles bug reports (and tried sending it to Steve Jobs too), but I'll send a specific suggestion for a bug app on the iPhone.
However, my question is whether there is a simple way to send bug reports from the iPhone now that I have overlooked. -
'Info' file count varies between original and copied folders
Unlike Snow Leopard, Lion and Mountain Lion 'Info' counts hidden files in folders (usually .DS files). However copied folders, often to different locations, computers, etc, do not count to the same total as the original folder. How can I stop 'Info' counting hidden files in a folder, so that I can check acturately folder contents between original and copied folders. I do not want to have to open each folder and check the count at the bottom of the window, this is very time consuming when dealing with many folders
I hope there is an easy answer ??You can do this simply in Terminal with the command
ls [directory] wc -l
This will only count the files and folders at the top level (i.e., not the contents of folders within it) and it won't count hidden files.
Examples:
if you want to count how many files are in your home user folder
ls -1 ~/ | wc -l
If you want to count how many files are in your desktop folder
ls -1 ~/Desktop | wc -l
If you want to count how many files are in a folder called 'Temp' on your Desktop:
ls -1 ~/Desktop/Temp | wc -l
If you want to count how many files are in your Trash:
ls -1 ~/.Trash | wc -l
If you want more sophisticated counts, such as subdirectories, type
man ls
into Terminal to read the manual on the various options you can use with the 'ls' command. -
Disk space error when copying/pasting clips between iMHD projects
Anyone know how to get around this problem? I have emptied all my trash, but continue to get a "not enough disk space" error message when I attempt to paste one copied iMHD clip to another iMHD project. How do I check my available disk space?
I assume that it's my startup disk because I run iMHD off of a Lacie 250GB external HD... Any thoughts?When we Copy and Paste a clip between projects, iMovie HD duplicates the clip's entire source file to the project. That can be a very large file, so the "not enough disk space" error sometimes occurs when we don't expect it.
One way to learn which disk a project is on is to Command-click (that's the Apple key) on the project name in the titlebar at the top of the project window. The path to the project will appear.
In the Finder, select that disk and choose File > Get Info.
If there appears to be sufficient disk space, please tell us the exact error message.
Also make sure the disk is formatted correctly. iMovie requires the Mac OS Extended disk format. The disk format is reported in the same Get Info window.
Karl -
Sym linked home folders with portable home directories
Hi
I have a Mac Pro with an SSD boot disk and an internal RAID0 for data. For obvious reasons I want to use the RAID for the majority of users' files and leave the SSD as an OS and application disk.
I've experimented with moving the entire set of home directories off onto the RAID, but this (bizarrly) seems to cause problems with VPN connecticity for remote users. I've now I followed Matt Gemmel's excellent guide here:
http://mattgemmell.com/2011/06/21/using-os-x-with-an-ssd-plus-hdd-setup/
This worked very well for local users and felt faster than the previous method, probably due to ~/Library remaining on the SSD.
However, when I came to implement PHDs via the mobility option in Workgroup Manager, I found that instead of syncing the sym link targets, client machines only sync the sym links themselves, which is entirely useless.
Does anyone know of a fix/workaround so that mobile home sync will find the sym link targets correctly?
Thanks
BenI ended up creating a dedicated local account for iTunes serving on my mini server.
-
Best Method For Importing Clips Between FCP Projects
What is the best method for importing clips between FCP 7.0.3 projects? I am wondering whether or not pulling the clips from the Capture Scratch folder is the way to go or will using Import from the new FCP project create a new folder in Capture Scratch with the imported clips? I have a new HD camcorder with different clips for different projects and Log and Transfer makes it so easy to bring them all in at once but now wondering how best to separate them into separate Capture Scratch folders for each project.
well, I simply either drag them in to the new/different project from the finder, or drag or copy and paste between open fcp projects. Never had any problems working this way. Just remember that if you delete a specific project scratch disk folder, you may be deleting media used in another project.
-
Editing Between Libraries Notifications
In working with 10.1.1. and the new Libraries, I find myself working with assets located in different libraries. Is there any possible way of disabling - turning off - the notification window that keeps popping up and reminding me that I'm editing between libraries. I know this. Okay, so how do I disable it? It's just annoying constantly having to take another step in my work flow and click OK.
Any suggestions to alleviate this issue in 10.1.1?
Thanks.Select Library 2 and i the Inspector, click on Modify Settings. Click the Media button and choose the location you want in Library 2. Then hit Consolidate. That will create a copy of the original media on drive 2. Test to make sure everything links properly and if you want, you can then delete the original file on drive 1.
Russ -
Is it possible to link values between two numbers pages in icloud ?
I want to work with different number pages (not sheets) and link values between them.
The main reason is that I want a group of people to have access to one numbers document and a second group of people to get access to another document that has values extracted from the first document.
Thanks,Thanks for the tip, not only will this help on the few pages I needed, I can utilize this feature for subsequent catalogs and other info that used to be a copy/paste type function.
I ended up using this feature with a simple find/replace to change the page numbers. -
Reliable way to sync/link activities between files stored in sharepoint
Hello, we have two different Microsoft project files A and B. Both files are stored in a SharePont workspace. In file A there are tasks that needs to be copied (and synchronized) to B. Currently this is done manually but we would like to have the
tasks update automatically in B when they are updated in A.
What we have tried is to copy and paste as special (link) which would seem to work as intended.
Is this a reliable method of synchronizing a large number of tasks and subtasks or is there another way to solve this more reliably? When trying locally I've occasionally received errors roughly translated: "Could not connect
to link / broken link".
Thanks in advance,
SebastianHi,
I strongly suggest you to avoid creating link with copy-paste special. It could introduce corruption in your projects.
I understand that you are not using project server thus a way for linking tasks between projects is to use the inter projects links. This allows you seeing the delays of external predecessors and accepting/rejecting it.
Here is the procedure:
http://pmpspecialists.com/Blog/2012/07/cross-project-task-dependencies-in-project-server-2010/
http://microsoftepmsolution.blogspot.ca/2012/01/epm2010-creating-cross-project-links.html
Hope this helps,
Guillaume Rouyre, MBA, MVP, MCP | -
OSB gives confusing volume information when moving tapes between libraries
Hi,
We have an SL500 tape library as our main backup device. We also added an SL24 to the OSB domain for testing prior to installation elsewhere. We have an RMAN-FULL-MF media family, which at some point in the past had unexpired media in both libraries.
As part of the process of decommissioning the SL24 prior to shipment, I unloaded the volumes from the SL24 and imported them into the SL500. However, I may not have run the necessary OSB commands, such that OSB has up-to-date information as to where the physical media is located.
Our DBA has tried to delete some old database backups, and this has failed because the backup pieces cannot be found. However, we have a volume in the SL500, RMAN-FULL-MF-000007 which appear to contains the backup pieces (see 'lspiece' output below), but OSB thinks the volume is still in the SL24.
When I do an inventory of the SL500 I get:
lsvol -L SL500
Inventory of library SL500:
in 1: volume OSB-CATALOG-MF-000085, barcode 000001, 408693760 kb remaining, expires 2008/10/02.07:01
in 2: volume CLIENTS-INCR-MF-000042, barcode 000000, 405070848 kb remaining, expires 2008/10/14.03:01
in 3: unlabeled, barcode 000002
in 4: volume RMAN-ARCH-MF-000006, barcode 000003, 387257344 kb remaining, content manages reuse
in 5: volume RMAN-ARCH-MF-000003, barcode 000004, 358014976 kb remaining, content manages reuse
in 6: volume RMAN-FULL-MF-000005, barcode 000005, 353155072 kb remaining, content manages reuse
in 7: volume OSB-CATALOG-MF-000087, barcode 000006, 408693760 kb remaining, expires 2008/10/04.07:01
in 8: volume RMAN-FULL-MF-000006, barcode 000007, 361881600 kb remaining, content manages reuse
in 9: volume CLIENTS-INCR-MF-000044, barcode 000010, 407601152 kb remaining, expires 2008/10/20.02:02
in 10: volume OSB-CATALOG-MF-000084, barcode 000011, 408794112 kb remaining, expired
in 11: volume CLIENTS-INCR-MF-000039, barcode 000012, 406033408 kb remaining, expires 2008/10/10.03:02
in 12: volume CLIENTS-INCR-MF-000036, barcode 000013, 405890048 kb remaining, expires 2008/10/03.03:02
in 13: volume OSB-CATALOG-MF-000086, barcode 000014, 408708096 kb remaining, expires 2008/10/03.07:02
in 14: volume CLIENTS-INCR-MF-000038, barcode 000009, 407687168 kb remaining, expires 2008/10/04.04:04
in 15: volume CLIENTS-INCR-MF-000043, barcode 000008, 407586816 kb remaining, expires 2008/10/17.03:03
in 16: volume CLIENTS-INCR-MF-000037, barcode 000015, 409627648 kb remaining, expires 2008/10/03.03:02
in 17: volume CLIENTS-FULL-MF-000028, barcode 000016, 337067008 kb remaining, expires 2008/10/05.04:18
in 18: volume CLIENTS-FULL-MF-000029, barcode 000017, 318909440 kb remaining, expires 2008/10/05.05:08
in 19: volume CLIENTS-INCR-MF-000041, barcode 000018, 408406016 kb remaining, expires 2008/10/11.05:09
in 20: unlabeled, barcode 000019
in 21: volume CLIENTS-FULL-MF-000031, barcode 000020, 312597504 kb remaining, expires 2008/10/12.05:04
in 22: volume CLIENTS-FULL-MF-000033, barcode 000021, 389140480 kb remaining, expires 2008/10/19.05:08
in 23: volume CLIENTS-FULL-MF-000034, barcode 000022, 392922112 kb remaining, expires 2008/10/19.05:08
in 24: volume CLIENTS-INCR-MF-000035, barcode 000023, 409815040 kb remaining, expires 2008/10/02.05:06
in 25: volume CLIENTS-FULL-MF-000032, barcode 000024, 356518912 kb remaining, expires 2008/10/19.02:02
in 26: volume CLIENTS-INCR-MF-000040, barcode 000025, 409699328 kb remaining, expires 2008/10/11.04:04
in 27: volume CLIENTS-FULL-MF-000030, barcode 000026, 375496704 kb remaining, expires 2008/10/12.04:18
in 28: volume CLIENTS-INCR-MF-000034, barcode 000027, 408218624 kb remaining, expired
in 29: unlabeled, barcode 000028
in 30: unlabeled, barcode 000029
in 31: volume RMAN-ARCH-MF-000004, barcode 000056, content manages reuse
in 32: unlabeled, barcode 000059
in 33: volume RMAN-ARCH-MF-000005, barcode 000055, content manages reuse
in 34: volume RMAN-FULL-MF-000007, barcode 000057, content manages reuse
in 35: unlabeled, barcode 000058
in 49: unlabeled, barcode CLNU00
in 50: unlabeled, barcode CLNU01
This shows the relevant volume. However, when I do an 'lsvol' by media family, I get:
lsvol -f RMAN-FULL-MF
VOID OOID Seq Volume ID Barcode Family Created Attributes
166 166 1 RMAN-FULL-MF-000005 000005 RMAN-FULL-MF 07/06.03:20 never closes; content manages reuse
167 167 1 RMAN-FULL-MF-000006 000007 RMAN-FULL-MF 07/06.03:23 never closes; content manages reuse
324 324 1 RMAN-FULL-MF-000007 000057 RMAN-FULL-MF 08/31.02:27 never closes; content manages reuse
288 288 1 RMAN-FULL-MF-000007 000057L3 RMAN-FULL-MF 08/31.02:27 never closes; content manages reuse
The volume RMAN-FULL-MF-000007 appears twice! The long version of this command gives:
lsvol -lf RMAN-FULL-MF
Volume OID: 166
Volume ID: RMAN-FULL-MF-000005
Barcode: 000005
Volume sequence: 1
Media family: RMAN-FULL-MF
Current location: SL500
Label host: ldvbspa01
Created: 2008/07/06.03:20
Closes: never
Expires: never; content manages reuse
Space remaining: 336.8 GB
Original OID: 166
Volume OID: 167
Volume ID: RMAN-FULL-MF-000006
Barcode: 000007
Volume sequence: 1
Media family: RMAN-FULL-MF
Current location: SL500
Label host: ldvbspa01
Created: 2008/07/06.03:23
Closes: never
Expires: never; content manages reuse
Space remaining: 345.1 GB
Original OID: 167
Volume OID: 324
Volume ID: RMAN-FULL-MF-000007
Barcode: 000057
Volume sequence: 1
Media family: RMAN-FULL-MF
Current location: SL500
Label host: ldvbsm01
Created: 2008/08/31.02:27
Closes: never
Expires: never; content manages reuse
Original OID: 324
Volume OID: 288
Volume ID: RMAN-FULL-MF-000007
Barcode: 000057L3
Volume sequence: 1
Media family: RMAN-FULL-MF
Label host: ldvbsm01
Created: 2008/08/31.02:27
Closes: never
Expires: never; content manages reuse
Space remaining: 390.1 GB
Original OID: 288
I ran the 'lspiece' command to get information about the specific backup pieces in question and I get:
lspiece -l -S 7ujpclm8_1_2
Error: can't read location SL24(DELETED) - UUID not found
Warning: can't obtain section and volume data for piece OID 2058 - UUID not found
Backup piece OID: 2058
Database: ukldmoms
Database ID: 3307807331
Content: full
Copy number: 0
Created: 2008/08/31.02:27
Host: ldvbsm01
Piece name: 7ujpclm8_1_2
BSOID: 3378
Volume ID: RMAN-FULL-MF-000007
File: 1
Sect: 1
lspiece -l -S 7vjpcn5b_1_2
Error: can't read location SL24(DELETED) - UUID not found
Warning: can't obtain section and volume data for piece OID 2059 - UUID not found
Backup piece OID: 2059
Database: ukldmoms
Database ID: 3307807331
Content: full
Copy number: 0
Created: 2008/08/31.02:31
Host: ldvbsm01
Piece name: 7vjpcn5b_1_2
BSOID: 3379
Volume ID: RMAN-FULL-MF-000007
File: 2
Sect: 1
This appears to indicate that OSB still thinks the volume is in the SL24, which has now been removed from the domain.
Does anyone know what I can do to get OSB to recognise that the volume is now in the SL500? Do I need to run the 'obtar' command with the -G option to re-catalogue the tape?
Ultimately I like to see some documentation on how to transfer tapes between libraries in the same domain, and also between domains, with specifc commands to run.
Thanks.Hi,
Not quite as straightforward as you suggest, but we have made progress.
The volume has to have a rotation policy before the 'chvol' command will run, which seems logical. So I created a policy for movement of tapes between the SL24 and SL500, and created and ran the media movement job. However, I then tried to remove the rotation policy, but could not because it was associated with the volume just moved.
I then tried a 'chvol -R "" RMAN-FULL-MF-000007' which returned an error:
"Error: can't relocate volume RMAN-FULL-MF-000007, volume has no rotation policy"
Which was the effect I wanted really - the removal of the association of the volume with the policy. I was then able to remove the rotation policy.
Also, 'lsvol -f RMAN-FULL-MF' still shows this volume listed twice.
The upshot of all this is that OSB now appears to show the volume in the right location and our DBA was able to delete the obsolete backups via RMAN. -
How to switch between libraries?
I have got to do a disk repair. I'm making sure my backup is correct as I don't want to lose all my precious pics. Lucky I checked as I've just discovered I've got two iPhoto libraries! The one I appear to be using is in the mac folder - where Users folder is, Library, System Folder, Updaters etc. It's the first area you come to when you double click on your mac's symbol in upper right corner.
However, I also have an iPhoto library within a folder which is in my User/Pictures area.
I want to make sure that the iPhoto library I'm using is within my user/pictures folder as it's my user files which are being backed up. However, I don't want to trash the one which is there without looking in it to see what's within. How do I switch between libraries?
If it's empty, I can presumable just bin it then use the recommended technique to move my other library to User\Pictures.
Thanks!If you use iPhoto LIbrary Manager like Larry suggested it will display the library name in the top iPhoto frame like this:
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard. -
Transferring edited clips between projects
Does anyone know the correct way to transfer edited clips from the timeline and paste into another cs4 project? When I copy and paste now, only the video appears, not the audio, making it necessary to redo all my edits. I saw info online about transferring clips between CS4 and After Effects but not between CS projects.
Frameserver is a no-go in CS4, sadly. Here's hoping the author comes up with a way to make it work. Batch encoding from AME to frameserved AVIs would be awesome, and by awesome I mean totally sweet.
Courtney, make sure that your destination sequence has the same kind of audio tracks as the source sequence, ie. stereo. I think PPro should automatically create them if needed, but when it does, they'll be placed below the existing timeline tracks. Even then, you should still hear them on playback...
tlc51369's solution is probably the best one. -
Copying folders and Subfolders with files using Promises WinJS
Hi,
I have app written in WinJS.
I want to copy a particular folder along with its subfolders and their files. I am so far successful with copying folders. Below is the code for the same.
app.CopyFolder = function (folder, destFolder) {
var replace = Windows.Storage.CreationCollisionOption.replaceExisting;
//console.log("create folder: " + folder.name);
return destFolder.createFolderAsync(folder.name, replace).then(function (newdest) {
return app.CopySubFolders(folder, newdest);
app.CopySubFolders=function(folder, destFolder) {
return folder.getFoldersAsync().then(function (folderlist) {
return WinJS.Promise.join(folderlist.map(function (folder) {
return app.CopyFolder(folder, destFolder);
Now after I have copied all the folders I need to copy their respective files. The problem is I am stuck,I get the files copied but I want to proceed ahead after all the files are written to their respective folders. Below is the code for the same.
app.copyAllFiles = function (fileList, destStorFolder) {
console.log('copyFiles Start...');
var promises = [];
var fileCopied = 0;
var collideOpt = Windows.Storage.CreationCollisionOption.replaceExisting;
return WinJS.Promise.join(fileList.map(function (file) {
return app.copySingleFile(file, destStorFolder);
app.copySingleFile = function (fileObject, destFolder) {
var promises = [];
var fileCopied = 0;
var path = destFolder.path + "\\" + fileObject.folderName;
var collideOpt = Windows.Storage.CreationCollisionOption.replaceExisting;
return Windows.Storage.StorageFolder.getFolderFromPathAsync(path).done(function (folderObjectOfLocalFolder) {
return fileObject.fileObject.copyAsync(folderObjectOfLocalFolder, fileObject.fileName, collideOpt).then(function (fileObject) {
console.log("copied single file:" + fileObject.name);
The problem is when i run the folder copy code and apply breakpoint for the success call back of
CopySubFolders(source,destination).done(/*my breakpoint*/)
The folders are created.
But when I try to breakpoint for my copyAllFiles,the files are created only when i pass the success call back.
Can anyone tell me what am i doing wrong? How can I proceed ahead only when all the files are written successfully.
Regards,
NinadHi,
I tried the above solution but what i want is that the action of copying folders and subfolders along with the files should be done with promises and that promise should return only when all folders,sunfolders and their files have been copied. I want to
do it in this way because I want to perform certain second action only when all things are copied.
If I do it the as per the link the function runs in the background and my second action proceed aheads and may cause error if it finds some folder or file missing.
So I came up with following above code,first copy folders then copy. The copy folder works as expected but the files are getting copied only when the file copying code enters the success call back.
Can you please shed light on my code where I am going wrong.
Or is it ok to proceed ahead with the solution you mentioned at the link cause I dont want any runtime crashes.
Regards,
Ninad
Maybe you are looking for
-
Third Party Deliveries and VAT/taxes
Hello All, customers using third party delivery between two EU companies in different countries are mostly facing the same problem: the tax code is not correctly found in the sales orders and has to be maintained manually. Some of the customers are d
-
Can anyone help me with burning DVD with images in Aperture and picture folder. I need the to be viewable on pc and DVD player if possible. My first attempt only works on mac.
-
Is DDL is suported in ogg from sqlserver 2005 to oracle 11g xe
Hi ! i want to use ogg to trasfer all tables and sp from sql server 2005 to oracle 11g xe. (using windows 2008,ogg112101_ggs_Windows_x86_ora11g_32bit.zip) is it suported? becasue i read "Extraction or replication of DDL (data definition language) ope
-
Hi i loaded data real time cube. i follow steps for IP to load data, now i want enter data at report level. what are the steps i need follow at report. i used customer material sales qty and version loaded to real time cube. now how to do report step
-
Why ca't we paste to email address field by rt clicking in the field.