Results 1 to 10 of 10

Thread: Feature Request: Library-to-Library copy

  1. #1

    Default Feature Request: Library-to-Library copy

    I was recently futzing around with two copies of my EF libraries, trying to get them in sync, when I tried to drag a couple files from one to the other, and then saw that I couldn't. First I dragged it from one window into the source pane of the other, hoping to get it imported into the Library at root level, then onto one of the specific folders of the library. I feel like this would be a nice feature, since one advantage it would have over import from the finder is—theoretically—copying tags and notes as well.

    Presumably you've thought about this; one question would be what to do with tags that aren't in the destination library. I guess it would be nice if they were created (with icon, even!) there, but that might be undesirable to some.

  2. #2

    Default

    Yes, that's on my to-do list. I was planning to create the tags (with the same color and abbreviation) if they were absent, and otherwise use the existing tags with the same names.

  3. #3

    Default

    Quote Originally Posted by crux View Post
    I tried to drag a couple files from one to the other, and then saw that I couldn't.
    You can do this in EagleFiler 1.2.

  4. #4

    Default

    It would be great to be able to do this via Applescript. I'd like to set up a (small, easily loaded) "Incoming" library to receive dropped/captured files, which could then be moved to another library by Applescript and deleted from "Incoming".

  5. #5

    Default

    Quote Originally Posted by Max View Post
    It would be great to be able to do this via Applescript. I'd like to set up a (small, easily loaded) "Incoming" library to receive dropped/captured files, which could then be moved to another library by Applescript and deleted from "Incoming".
    I don’t know the details of how you’d want this to work, but it sounds like it would be possible. You can tell EagleFiler, via AppleScript, to import a file that’s in another library, and you can also tell it to move files in the library to the trash.

  6. #6

    Default

    What I would really like to do is move ALL the records in one library to another one. That's where I am having trouble. I could manually select all the records and then move them, but I cannot figure out how to select them all via Applescript. I have tried several variants on "set theRecords to every library record of library document 'xxx'" without success.

  7. #7

    Default

    Quote Originally Posted by Max View Post
    What I would really like to do is move ALL the records in one library to another one. That's where I am having trouble. I could manually select all the records and then move them, but I cannot figure out how to select them all via Applescript. I have tried several variants on "set theRecords to every library record of library document 'xxx'" without success.
    Well, you probably don’t want to select the records because you don’t need to control the user interface, just import the records. There are different ways to do this, but here’s a way that imports the top-level files/folders of one library into the top level of the other:

    Code:
    tell application "EagleFiler"
        tell library document 1
            backup metadata
            set _root to root folder
            set _records to _root's library records
            set _files to {}
            repeat with _record in _records
                copy _record's file to end of _files
            end repeat
        end tell
        tell library document 2
            import files _files
        end tell
    end tell
    At present, there’s no way to tell from AppleScript when the import is done so that you can move the records to the trash. This will be addressed in a future version of EagleFiler.

    By the way, you don’t want to use “every library record” because that would give you each folder and all the items within each folder. Importing a folder will already import its contents.

  8. #8

    Default Copying of data between Libraries

    Michael,

    Have 3 major EF libraries which are open all the time. Clippings and pdf are constantly being sent to the wrong library. This means culling and sorting all the time. Sure we can drag from one library to another.

    Would it be possible to have the other libraries show up at the top of the library listing at the left of the EF window. Like servers and volumes show up at the top left-hand corner of Finder windows (as "Devices" or "Shared"). We could then just drag docs to the correct EF library.

    Regards and Happy End Of Year to all. And congratulations to Michael for such a wonderful application.

    Steve J

  9. #9

    Default

    Quote Originally Posted by Steve J View Post
    Would it be possible to have the other libraries show up at the top of the library listing at the left of the EF window. Like servers and volumes show up at the top left-hand corner of Finder windows (as "Devices" or "Shared"). We could then just drag docs to the correct EF library.
    That sounds like a good idea. Thanks. However, before I do this I’m planning to make some changes so that one is less likely to import into the wrong library in the first place.

  10. #10

    Default

    With EagleFiler 1.3, you can press Option-F1 to choose which library to import into.

Similar Threads

  1. AssertionError while adding Web Archive to library
    By recalcitrantyouth in forum EagleFiler
    Replies: 2
    Last Post: 11-15-2007, 12:05 PM
  2. Feature proposal: export library
    By brab in forum EagleFiler
    Replies: 19
    Last Post: 06-05-2007, 09:52 AM
  3. Wishlist: Default Library Preference
    By crux in forum EagleFiler
    Replies: 3
    Last Post: 03-05-2007, 05:13 PM
  4. How do I disable viewing subfolder contents in Library ?
    By Cristiano Lincoln in forum EagleFiler
    Replies: 2
    Last Post: 12-23-2006, 05:19 PM
  5. Replies: 2
    Last Post: 12-06-2006, 02:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •