burger
infomaniak
infomaniak
cloud-computing-logo
Cloud Computing
web-domain-logo
Web & Domains
event-marketing-logo
Events & Marketing
  • Our products
    • Collaborative tools icon chevron
    • Web & Domains icon chevron
    • Cloud Computing icon chevron
    • Events & Marketing icon chevron
    • Streaming icon chevron

      ksuiteCollaborative suite

      Discover the collaborative suite → Discover →
    • kSuite Professional email, sovereign cloud and AI for sustainable performance
    • kSuite The suite for secure communication, storage and sharing
    • kdrive
      kDrive Store, collaborate and share your files
    • mail service
      Mail Service Create your email addresses with your domain
    • kChat
      kChat Communicate live with your teams
    • kmeet
      kMeet Organise your meetings online in complete security
    • swisstransfer
      SwissTransfer Send your files up to 50 GB free of charge.
    • kpaste
      kPaste Share and encrypt your sensitive information
    • ksuite
      Custom Brand Control the brand image of your products
    • kChat
      Chk Link reducer & QR code generator
      Find the web hosting solution you need
    • Domain name
      Domain name Reserve your domain name at the best price
    • Site Creator
      Site Creator Create your website with ease
    • web hosting
      Web Hosting Create your website with over 100 CMS
    • web hosting
      Wordpress Hosting Create your WordPress website easily
    • Cloud Server
      Cloud Server Power up your sites with guaranteed resources
    • Node.js Hosting Create a dynamic, interactive site with Node.js
    • SSL Certificat
      SSL certificates Secure your websites with an EV or DV certificate
    • Options
    • Domain privacy
      Domain Privacy Protect your domains’ private data
    • DNS Fast Anycast
      FastAnycast DNS Speed up your site access times
    • Dyn DNS
      DynDNS Access your devices remotely
    • Dyn DNS
      Renewal Warranty Secure your domains against loss and theft
      Find the right Cloud Computing solution

      Cloud services

    • public cloud
      Public Cloud (IaaS) Create your projects in a high-end, ultra-competitive Cloud
    • Cloud Server
      VPS Cloud Create a Windows / Linux server
    • Kubernetes service Deploy your containerised apps on a large scale.
    • VPS Lite
      VPS Lite Create a Windows/Linux server at a low cost
    • Database Service Manage your databases with a managed solution
    • jelastic cloud
      Jelastic Cloud (PaaS) Create your own customised environments
    • Other services

    • llm api
      AI Tools Boost your productivity with our sovereign AI
    • swiss backup
      Swiss Backup Back up your devices in the Cloud
    • nas synology
      NAS Synology Rent a NAS in our secure data centers
    • High availibility
      Very High Availability Create a multi-data center infrastructure with customised SLAs
    • Housing
      Housing Install your servers in our data centers
    • Auth Add a privacy-friendly login method to your apps
      Infomaniak Events, the independent local events portal
      Online ticketing service with a wide choice of concerts, shows and events.
    • online shop
      Ticketing Create your ticketing service and sell tickets
    • kdrive
      Access Control Control access to your events with ease
    • kdrive
      Guest manager Automate your event invitations
    • kdrive
      Newsletter Send your newsletters at competitive prices
    • Streaming radio
      Streaming radio Create and broadcast your own live radio station online
    • streaming video
      Video-Streaming Create and broadcast live events and TV online
    • VOD and AOD
      VOD & AOD service Host and broadcast your recordings without limits
  • Resources
    documentation icon Documentation
    Guides & tutorials
    API documentation
    special offers icon Special offers
    Get started for free
    Student programme
    Become an affiliate
    partner program icon Partner programme
    Find a partner
    Become a partner
    support icon Support & contact
    Contact Support
    Premium support - 24/7
    Contact our sales department
    Hiring an expert
    Migrate to Infomaniak
  • About us
    forest
    icon Ecological commitment
    We pollute. But we are taking action to reduce the footprint of our services and infrastructure
    Discover our commitment →
    icon About Infomaniak
    Our vision, our values
    Our teams
    Infomaniak is recruiting
    Press and communication
    Blog and news
    icon Security
    Data confidentiality
    Bug Bounty Programme
  • Get started for free
    Sign in
  • search-icon
    close-icon
      icon

      Would your needs exceed our solutions? To find out, contact us so that we can advise you personally.

      Our flagship products:
  • search-icon
  • Get started for free
    Sign in
Price Price
Knowledge base

1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

Knowledge base Import data to kDrive from iCloud

    Import data to kDrive from iCloud

    This guide details how to import data from iCloud using rClone on kDrive Infomaniak.

     

    COMPATIBILITY

    my kSuite ✗‍‍ | my kSuite+ ✗‍
    kSuite Standard 1 max user ✗‍ | kSuite Standard 2 min users ✗‍ | kSuite Pro ✔‍ | kSuite Entreprise ✔‍
    kDrive Solo ✔‍ | kDrive Team ✔‍ | kDrive Pro ✔‍

    ✔‍= Compatible offer  |  âś—‍= Not available

     

    Preamble

    • Since Apple does not offer an API like its competitors, one solution to retrieve documents from an iCloud Drive is to install the app kDrive macOS to synchronize the icloud folder, which should be in your library. The guide below offers a solid alternative.

     

    1. Set up rclone for drive access

     

    Installing rclone on your computer

    There is a version of rclone with a graphical interface (GUI) but it is quite possible to do this via command line (CLI):

    1. Install rclone from a terminal application on your device by entering the following command:
      sudo -v ; curl https://rclone.org/install.sh | sudo bash
    2. Enter the password for your session on your computer to start the installation:
      • Refer to the official installation guide if necessary.

     

    Configuration of the remote drive (iCloud) on rclone

    1. Once rclone is installed, enter the command rclone config.
      • Refer to the official configuration guide if necessary.
    2. Then choose to configure a new remote import by answering n for New remote.
    3. Name the remote disk, for example appledrive:
    4. Then choose the type of drive to import by responding with iclouddrive, which corresponds to iCloud Drive among the options offered.
    5. Specify the apple_id to rclone by entering your Apple ID (usually an email address).
    6. Choose to use your own password linked to the Apple ID account (y).
    7. Enter your password twice as prompted:
    8. Answer “No” n to the question about “advanced configuration”.
    9. A window on your device should open to warn you of a remote connection; authorize it:
    10. A window on your device should open with a 2FA code; copy it:
    11. Paste the code when rclone it asks you.
    12. Answer “Yes” y to the last question if all the presented information is correct.

     

    Setting up the destination drive (kDrive) on rclone

    It is possible to act directly on the configuration file of rclone by pasting your kDrive configuration in the following format, for example:

    [kDrive]
    type = webdav
    url = https://kDrive_ID_HERE.connect.kdrive.infomaniak.com/
    vendor = other
    user = user@email.com
    pass = PASSWORD_HERE_OR_APP_PASSWORD_IF_2FA

    But here is how to proceed step by step, just like for the previous configuration:

    1. Still in the terminal, enter n for a new disk configuration and enter the name kDrive to recognize your destination disk:
    2. Then choose the type of disk to import by entering webdav, which corresponds to a WebDAV configuration among the options offered.
    3. Enter the following information:
      • url = direct access to kDrive (refer to this other guide regarding the kDrive ID for the connection URL)
      • vendor = rclone (option number 6)
      • user = email address for logging into the Infomaniak user account
    4. Answer “Yes” y when prompted for the password, then enter the password:
      • application password if two-factor authentication is enabled or‍ the one for your Infomaniak user account if you have not enabled 2FA.
    5. Leave bearer_token empty, then answer “No” n to the question about “advanced configuration”.
    6. Answer “Yes” y to the last question and your 2 drives will be displayed:
      ‍

     

    2. Copy iCloud data to kDrive

    Prerequisites

    • Check the available options on the official guide before starting an import.

    Example command to start copying your iCloud data to the root of your kDrive:

    sudo rclone copy appledrive: kDrive:

    This will instantly start copying your folders, subfolders, and iCloud contents to your personal folder in your Infomaniak kDrive!

     

    Details about the dates of your exported photos

    If you export your photos from iCloud to kDrive Infomaniak, be mindful of the date metadata. During export, the file creation dates may be altered and replaced with the export date instead of the original capture date.

    Here is a script for advanced users that allows you to restore the correct data to your files from the EXIF information (it is recommended to process batches of 7000 photos max. to avoid a crash):

    1. Download ExifTool https://exiftool.org/index.html (MacOS Package).
    2. Install the application by allowing it to open beforehand if necessary:
    3. Open Script Editor (located in your Applications > Utilities folder):
    4. Click on New document.
    5. Copy and paste the long script below into the Script Editor window.
    6. Click on Run to start the script, a window opens:
    7. Select the folder to analyze.
    8. Let the script run, it will modify the dates or write errors in a file errors.txt on the desktop.

    The script to copy and paste in full:

    -- remplace date du fichier par la date exif creation
    
    tell application "Finder"
        set Chemin to choose folder with prompt "Sélectionnez le dossier contenant les fichiers à redater"
        my inspecter(Chemin)
    end tell
    
    on inspecter(un_dossier)
        tell application "Finder"
            -- traitement des fichiers :
            set les_fichiers to files of un_dossier
            repeat with chaque_fichier in les_fichiers
                -- traitement d'un fichier
    
                set lefichier to chaque_fichier
                set AppleScript's text item delimiters to {""}
                set nom to name of chaque_fichier --récupère le nom du fichier
                set extens to document file nom in un_dossier --recupere l extension du fichier
                set lextension to name extension of extens
                set sauv to AppleScript's text item delimiters --sauvegarder la variable delimiteur
                set AppleScript's text item delimiters to {"."} --récupère la partie avant le dernier "."
                set elements to text items of nom
                set nomcourt to (items 1 thru -2 of elements) as string
                set ancien_nom to nomcourt
                set AppleScript's text item delimiters to sauv --restaurer la variable delimiteur
    
                set chaque_fichier to chaque_fichier as string
    
                try
                    set datephoto to do shell script "/usr/local/bin/exiftool -DateTimeOriginal " & quoted form of POSIX path of chaque_fichier
                    if datephoto is "" then set datephoto to do shell script "/usr/local/bin/exiftool -CreationDate " & quoted form of POSIX path of chaque_fichier
                    if datephoto is "" then set datephoto to do shell script "/usr/local/bin/exiftool -CreateDate " & quoted form of POSIX path of chaque_fichier
    
    
                on error
                    -- Ecrit un fichier erreur sur le bureau si erreur chargement date
                    set lelog to open for access ((path to desktop folder as text) & "errors.txt") as text with write permission
                    write "Le fichier ne contient pas de date  : " & chaque_fichier & return to lelog starting at eof
                    close access lelog
    
                    set datephoto to ""
                end try
    
                if length of datephoto > 20 then
                    set x to (length of datephoto) - 33
                    set DateOriginale to text -x thru -1 of datephoto
                    set ladate to text 1 thru 5 of DateOriginale
                    set lannee to ladate
                    set ladate to ladate & text 7 thru 8 of DateOriginale
                    set lemois to text 7 thru 8 of DateOriginale
                    set ladate to ladate & text 10 thru 11 of DateOriginale
                    set lejour to text 10 thru 11 of DateOriginale
                    set ladate to ladate & text 13 thru 14 of DateOriginale
                    set lheure to text 13 thru 14 of DateOriginale
                    set ladate to ladate & text 16 thru 17 of DateOriginale
                    set lesminutes to text 16 thru 17 of DateOriginale
                    set ladate to ladate & "." & text 19 thru 20 of DateOriginale
                    set lessecondes to text 19 thru 20 of DateOriginale
                    set newnom to lannee & "-" & lemois & "-" & lejour & " " & lheure & "." & lesminutes & "." & lessecondes
    
                    set xxx to ladate as string
    
                    if xxx is " 000000000000.00" then
                        -- Ecrit un fichier erreur sur le bureau si erreur chargement date(=0000...)
                        set lelog to open for access ((path to desktop folder as text) & "errors.txt") as text with write permission
                        write "Le fichier ne contient pas de date : " & chaque_fichier & return to lelog starting at eof
                        close access lelog
                    else
                        do shell script "touch -t " & ladate & " " & quoted form of POSIX path of chaque_fichier
                    end if
                end if
    
                if datephoto is not "" then
    
                else
                    set lelog to open for access ((path to desktop folder as text) & "errors.txt") as text with write permission
                    write "Le fichier ne contient pas de date  : " & chaque_fichier & return to lelog starting at eof
                    close access lelog
                end if
    
            end repeat
    
            -- traitement des dossiers :
            set les_dossiers to folders of un_dossier
            repeat with chaque_dossier in les_dossiers
                -- traitement d'un dossier
                my inspecter(chaque_dossier)
            end repeat
        end tell
    
    end inspecter
    tell application "Finder"
        (display dialog ("waouou ... Ca y est c'est fait !") buttons {"Salut !"})
    end tell


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Display all FAQs for this product
    logo infomaniak
    Prices do not include VAT
    facebook
    twitter
    linkedin
    instagram

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press space Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support Sales contact API REST Report abuse WHOIS Statuts Public Cloud Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    ©2025 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies
    icann-logo
    swiss
    new-iso
    swiss-hosting
    logo infomaniak
    Prices do not include VAT

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press and media Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support offer Sales contact API REST Report abuse WHOIS Statuts Public Cloud Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    icann-logo
    swiss
    new-iso
    swiss-hosting

    facebook
    twitter
    linkedin
    instagram
    ©2025 Infomaniak
    Contracts - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies

    Managers

    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.