Possible to delete from source on import?

Hi.
Is it possible to delete my photos from the source device as part of the post-import process? It seems pointless to have another step to go through, especially since iPhoto has this functionality built in. Am I missing something?
Thanks.

Lots of discussion here (found by searching the forum for "delete source"):
http://www.adobeforums.com/webx/.3c0529bf/41

Similar Messages

  • Insert data from source table to destination table dependning up on a criteria.once inserted delete from source table.

    HI,
    I have a source table with millions of records .I need to insert some of the data (depending on a condition) to a repository table.
    Once they are inserted they can be deleted from the source table.
    The deletion is taking a lot of time .
    I need to reduce the time to delete the records.
    ex:-  1 million records in 8 seconds.
    Had already used bulk collect and cursors but cannot succeed.
    Please suggest how to increase the performance.
    Thanks & Regards

    APPROACH 1:-
    CREATE OR REPLACE PROCEDURE SP_BC
    AS
    DETAILS_REC SOURCETBL%ROWTYPE;
    COUNTER NUMBER:=1;
    RCOUNT NUMBER:= 1;
    START_TIME PLS_INTEGER;
    END_TIME PLS_INTEGER;
    CURSOR C1 IS
    SELECT * FROM SOURCETBL WHERE DOJ<SYDATE;
    BEGIN
    START_TIME := DBMS_UTILITY.GET_TIME;
        DBMS_OUTPUT.PUT_LINE(START_TIME/100);
        OPEN C1;
        LOOP
        FETCH C1 INTO DETAILS_ROW;
        EXIT WHEN  C1%NOTFOUND;
               BEGIN
                EXIT WHEN COUNTER >10000;
                INSERT INTO DESTINATIONTBL VALUES DETAILS_REC;
                IF SQL%FOUND THEN
                    DELETE FROM SOURCETABLE WHERE ID= DETAILS_REC.ID;
                  COUNTER:=COUNTER+1;
            END IF; 
        COMMIT;
            END;
         COUNTER:=1;
        END LOOP;
        COMMIT;
    END;
    APPROACH 2:-
        CREATE OR REPLACE PROCEDURE SP_BC1
    IS
    TYPE T_DET IS TABLE OF SOURCETBL%ROWTYPE;
    T_REC T_DET;
    BEGIN   
        SELECT *  BULK COLLECT INTO T_REC FROM SOURCETBL
         WHERE NAME=@NAME;
        FOR I IN  T_REC .FIRST ..T_REC .LAST
           LOOP
             INSERT INTO DESTINATIONTBL VALUES T_REC (I);
          IF SQL%FOUND THEN
          DELETE FROM SOURCETBL WHERE ID =
           WHERE ID = T_REC (I).ID;  
           END IF; 
           EXIT WHEN T_REC=0;
        END LOOP;
        COMMIT;
    END;
    APPROACH 3:-
    CREATE OR REPLACE PROCEDURE SP_BC2
    AS
    TYPE REC_TYPE IS TABLE OF SOURCETBL%ROWTYPE ;
    DETAILS_ROW REC_TYPE;
    CURSOR C1 IS
    SELECT * FROM
         SOURCETBL WHERE END<SYSDATE;
        BEGIN
        OPEN C1;
        LOOP
        FETCH C1 BULK COLLECT INTO DETAILS_ROW LIMIT 999;
        FORALL I IN 1..DETAILS_ROW.COUNT
                  /* A BATCH OF 999 RECORDS WILL BE CONSIDERED FOR DATA MOVEMENT*/
    INSERT INTO DESTINATIONTBL VALUES DETAILS_ROW(I);
    --            IF SQL%FOUND  THEN
    --                DELETE from SOURCETBL WHERE ID IN DETAILS_ROW(I).ID;
    --           END IF;
            EXIT WHEN  C1%NOTFOUND; 
        COMMIT;   
        END LOOP;
        COMMIT;
    3rd approach seems better but i have an issue with referring the fileds of a record type.

  • Request templete - is it possible to delete from database?

    Hi All,
    is it possible to delete/disable request template from OIM database after we use it to generate some request?
    best
    mp
    Edited by: J23 on 2012-02-17 05:48

    If can change configuration (delete) of request template any time, via UI, don't do it via sql query.
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14316/req.htm#BABFJHDF
    If you are talking about deleting or changing request dataset, sure you can do it any time Again If you going to perform any MDS operation keep the backup of MDS.

  • If you have a picture in two different albums, it is not possible to delete from just one album, you got to delete from all albums

    I cant delete singel/multiple pictures from my albums, without deleting the same picures from another album.
    When you press delete on a picture you get a question wich says "delete from all albums", and thats it?
    You cant choose to select yes or no.

    When you 'copy' photos into new albums you are only creating a pointer to the photo, you are not creating a separate copy of it - if you delete the original photo you will be deleting all pointers to it and it will be removed from any album that you've 'copied' it into.
    The Collections/Photos and Albums views are just different ways of viewing the same photos.

  • Update package deleted from source folder

    Hi
    I have a problem where the Windows updates package I've downloaded are being deleted regularly. This also occurs for packages created by an ADR. As a result the deployment of updates fails.
    An update package is created \\sccm\sources\updates\monthly updates
    A day or two later the Monthly updates folder is deleted.
    I've ran process monitor with a filter to capture the delete object item (SetDispositionInformationFile),
    source, but the process isn't captured.
    There's nothing recorded in wsyncmgr.log pertaining to the update package id.
    The problem is similar to this
    post in technet forums however I don't believe a migration wizard was used for this setup. Once the source files have been deleted I cannot simply download them again using the same package, I must create a new package.
    I have a single primary site.
    I'm at a loss as to why these updates are being deleted... Help!

    I concur with Garth.
    There must be some external process performing this action because ConfigMgr will not do this.
    Did you happen to set WSUS to download content to the same folder when setting it up?
    Also, wsyncmgr.log has nothing to do with ConfigMgr packages so you'll never see a reference to package ids in there. wsyncmgr.log simply shows the update catalog download from Microsoft by WSUS and then synching to the ConfigMgr DB.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Navigatiomnal attribute is not possible to delete from master data?

    WHen I tried to delete the navagational attribute I am getting an erro like this.
    Characteristic Z5xyz: Master data has to be activated before conversion
    Message no. R7067
    Diagnosis
    The master data for characteristic Z5xyz  has to be converted, because an attribute has been deleted, or the time-dependency of an attribute has been changed. This process is possible, only if the master data for characteristic Z5xyz  is active. The  master data table /BIC/PZ5xyz contains only new or modified records, that have not yet been activated.
    System Response
    Characteristics Z5xyz  cannot be activated.
    Procedure
    Activate the master data for characteristic Z5xyz , before you activate the characteristic itself.
    Can any one help me to resovlet his.
    points will be definitely assigned.
    Thanks,.
    Vasu

    Hi Vasu,
    You are tying to delete a table filed when the table contains data. For this you need to adjust the database table.
    But instead of doing all this you may follow a simpler method.
    Before  deleting that Characteristics you need to delete the Masterdata first.  Then delete the Characteristics from the attribute list and activate the Masterdata Object. Now reload the masterdata.
    Regards,
    Pratap Sone

  • Is it Possible to delete from the "referenced libraries" list?

    Hi,
    Ive built a pathto a certain file and now it appears in the "Reference Libraries" drop-down thing.
    i wish to delete it but the "delete" option is disabled when i right click it. and pressing delete on the keyboard has no effect accordingly.
    is it possuble to delete such a library?
    Thanks

    Ok found the answer, so for anyone interested, u right click on the path u wish to delete, choose BuildPath and then remove from build path
    u can manage the whole "referenced library" by right clicking it and choosing BuildPath -> configure buildpath

  • Deleting from a table based on values in a second table

    Is it possible to DELETE from (or for that matter do an UPDATE to) a table based on values in another table? I have gone through the online documentation but can't seem to find anything. I'm trying to delete rows from table A where A.field1 = B.field1 and B.field2 = 'X'. (B being the second table)

    It is done using subqueries in the where clause.
    delete from A
    where A.field1 in (select B.field1 from B where B.field2 = 'X');
    delete from A
    where exists (select 'x' from B where B.field1 = A.field1 and B.field2 = 'X');
    delete from A
    where A.rowid in (select A.ROWID from from A, B where B.field1 = A.field1 and B.field2 = 'X');
    And many other varieties. Eg. more specialised:
    delete from A
    where A.txdate < (select B.prune_date FROM B where B.field1 = A.field1 and B.field2 = 'X')
    and A.txstate in (select S.txstate from S where S.prodlass=a.prodclass and s.deletable='Y');

  • Very important question need immediate answer please very serious, is there any way possible i can get recent text messages from the last 2 days and print them off after they have been deleted from my phone?

    is there anyway i can retrieve recent text messages from the last 2 days and have them printed off after they have been deleted from my phone?  this is seriously important i need this for an attourney!

    click here:
    Re: Can I request to get the content of old text messages

  • Exporting and Importing Portal users from Source system to Target system

    Hi All,
    I have exported all portal users from source portal in to file Users.txt do i need to convert this file in to some other format so that i can import these users in Target portal.
    any links documents
    Regards,
    Murali

    Hi,
    If you look in to User.txt
    I have role also i have deleted role in User.txt uploded file with rest of the otherdata including group it it able to create users.
    so in Nut shell let's say
    1. UID-Murali
       Role- Manager
      Group- HRGroup
    user existing  in DEV and i want to trnasfer data to PRD
    Role:Manger should exist in PRD, and group is not mandatory optional
    but the link http://help.sap.com/saphelp_nw70/helpdata/EN/ae/7cdf3dffadd95ee10000000a114084/frameset.htm
    says while uploading users role is optional it throws waring but i got error.
    i am bit confused.
    Now let's sau there are 10 users, 10 roles and 2 groups in source system if i want to export all users,roles,groups to target system what sequnce i have to follow without getting any error , warining is there any restriction on number of users, roles, groups i know file size should be less than 1MB.
    Points are on the way.
    Regards,
    Murali

  • Is it possible to delete data selectively from Business content cubes

    Dear Experts,
             Requesting you to help me out to know, is it possible to delete data selectively from Business content cubes.
    When I'm trying to delete selectively from Business content cubes, the background job gets cancelled with ST22 logs stating
    A RAISE statement in the program "SAPLRSDRD" raised the exception  condition "X_MESSAGE".                                                                               
    Since the exception was not intercepted by a superior program, processing was terminated.  
    and i tried  with few more Technical content cubes but the same thing happens.
    Pls let me know how to selectively delete data from Business content cubes if it's possible?.
    Thanks in advance for your favorable assistance.
    Regards,
    Ramesh-Kumar.

    Hi Ramesh,
    Follow below steps for selective deletion:
    1.     Transaction code: Use the Transaction code DELETE_FACTS.
    2.     Generate selective deletion program:
    A report program will be generated of the given name, here .
    3.     Selection screen:
    Take the deletion program u201CZDEL_EPBGu201D to the transaction code SE38 to see/execute the program.
    After executing it will take you to a selection screen:
    As we need to carry out deletion selective on Calendar week, we need to get the screen field for the field Calendar week. For this, click on the Calendar week field and press F1.
    Click on the technical information button (marked in red box above) you will get below screen:
         ABAP program to carry out the Calendar week calculation
    Problem scenario: As stated earlier the requirement is to delete the data from the cube based on the calendar week. Thus a code must be developed such that the number of weeks should be taken as input and corresponding calendar week should be determined. This calendar week should be then passed to the deletion program in order to carry out the data deletion from the InfoCube.
         Transaction code: Use T-code SE38 in order to create a program.
    Logic: Suppose we need to delete the data older than 100 weeks.
    a.     Get the number of weeks and system date in variables and calculate the total number of days :
    lv_week = 100.      *number of weeks      
    lv_dte = sy-datum.     *system date
    v_totaldays = lv_week * 7.      *total days
    b.     Get the corresponding calendar day from the total days. This is obtained by simply subtracting the total no. of days from the system date.
    lv_calday = lv_dte - v_totaldays. *corresponding calday.     
    c.     Now in order to get the calendar week corresponding to the calculated calendar day we must call a function module 'DATE_TO_PERIOD_CONVERT'. This function module takes input as Calendar day and Fiscal year variant and returns the appropriate fiscal period.
    Get the sales week time elements
      call function 'DATE_TO_PERIOD_CONVERT'
        exporting
          i_date                      = lv_calday
          i_periv                     = lc_sales
        importing
          e_buper                     = lv_period
          e_gjahr                     = lv_year
        exceptions
          input_false                 = 1
          t009_notfound               = 2
          t009b_notfound              = 3.
      if sy-subrc = 0.
        ls_time-calweek(4)      = lv_year.
        ls_time-calweek+4(2)    = lv_period.
      endif.
    v_week = ls_boots_time-calweek.
    Note: We can pass the fiscal year variant which can be obtained from the table T009B.For e.g. here fiscal year variant lc_sales = Z2. LS_TIME will be any table with suitable time units.
    d.     Now we have obtained the required calendar week in the v_week variable. This calendar week is the week till which we need to keep the data. And older data than this week will be deleted. This deletion will be done by the deletion program
    Submitting the Data deletion program for ZEPBGC01 and key field
    SUBMIT ZDEL_EPBG WITH C039 LT v_week.
              Here the calendar week value is submitted to the deletion program ZDEL_EPBG with the screen field of calendar week.
    Hope ... this will  help you..
    Thanks,
    Jitendra

  • Hello, I deleted from ICloud an IPhone which was stolen from me, and most of my contacts that where in my new IPhone are now gone. Is it possible to recover things that where deleted from iCloud?

    Hello,
    is it possible to retrieve data that was deleted from ICloud?. I was adjusting my data to fit the Cloud´s storage capacity, and while deleting from ICloud an old IPhone which had been stolen from me, most of my contacts disappeared. Can I somehow get the back?
    Txs and regards,
    José

    Also, what are the source of your contacts? are they created on the phone, or you synced from yahoo/hotmail etc.
    If thats the case, the circular arrow wont be visible but instead show "groups"
    Contacts from different accounts are not synced to iCloud.

  • Is It Possible To Delete Certain Clips From An Archive?

    After successfully completing an Archive, I noticed there are certain clips that I will never use and would like to get rid of them.  I realize that i don't have to import them into my Events  but don't see a reason to have them taking up HD space.  The Archive was built from a mini DV tape cassette which means they are already stored there.  Is it possible to delete certain clips from an Archive?  If so, can't figure out how to go about it.  Any help would be greatly appreciated. 

    I would try this on a small archive first and on a duplicate, just to make sure you don't damage the entire archive by using this technique.
    You can open an archive by right clicking on the archive icon and Show Package Contents. You should get a regular finder file structure. Find the files you want to discard, select them and Move to Trash.  That should be all there is to it.  I don't see where this should cause any problems, you should be able to import the files into FCPX without any problems (but** I have not tried this for myself — that's why I recommend trying this out on a duplicate archive first.)

  • Is it possible to delete files from time machine?

    Is it possible to delete files from time machine? I had a drive crash, restored the files to a new drive, and now the old versions and the new versions of the files are both backed up, taking up a mountain of drive space. Do I just have to wait 'til the drive gets full and then tell it what to delete first?

    Hi, I need help in a related problem. I have 500gb time capsule. I needed larger hard drive, so I now use TM to back up to a different 1tb hard drive. So I don't need the TC as a TM back up device. But I want to use the TC's hard drive as an extra external hard drive. I deleted the files that were on it. but it still shows it has a sparsebundle file with a size of over 400gb ( probably the size of the old backups). When I use disk utility to try to erase it, I am not offered the erase tab. This "disk" does show on the desk top as a mounted disk (I think) with only 53 gb free. How can I set this up so all the disk space is free and I can use it for storing files, not as a back up? Thanks

  • I inadvertently deleted the source tunes from my iMac.  How do/can I restore them from my iCloud account?

    I inadvertently deleted the source tunes from my iMac.  How do/can I restore them from my iCloud account?

    Welcome to the Alpple Community.
    Your iCloud account doesn't have anything to do with iTunes. With iTunes in the cloud you can redownload tunes you have purchased from iTunes (select purchases from the list of options in the top right hand corner of the iTunes home page.
    If you have iTunes match you can redownload all your tunes by clicking the cloud icon at the right of each listing.

Maybe you are looking for