EnglishFrenchSpanish

Ad


OnWorks favicon

git-annex-import - Online in the Cloud

Run git-annex-import in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command git-annex-import that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


git-annex-import - move and add files from outside git working copy

SYNOPSIS


git annex import [path ...]

DESCRIPTION


Moves files from somewhere outside the git working copy, and adds them to the annex.
Individual files to import can be specified. If a directory is specified, the entire
directory is imported.

git annex import /media/camera/DCIM/*

When importing files, there's a possibility of importing a duplicate of a file that is
already known to git-annex -- its content is either present in the local repository
already, or git-annex knows of another repository that contains it, or it was present in
the annex before but has been removed now.

By default, importing a duplicate of a known file will result in a new filename being
added to the repository, so the duplicate file is present in the repository twice. (With
all checksumming backends, including the default SHA256E, only one copy of the data will
be stored.)

Several options can be used to adjust handling of duplicate files.

OPTIONS


--duplicate

Do not delete files from the import location.

This could allow importing the same files repeatedly to different locations in a
repository. More likely, it could be used to import the same files to a number of
different branches or separate git repositories.

--deduplicate
Only import files that are not duplicates; duplicate files will be deleted from the
import location.

--skip-duplicates
Only import files that are not duplicates; and avoid deleting duplicate files from
the import location.

--clean-duplicates
Does not import any files, but any files found in the import location that are
duplicates are deleted.

--force
Allow existing files to be overwritten by newly imported files.

Also, causes .gitignore to not take effect when adding files.

file matching options
Many of the git-annex-matching-options(1) can be used to specify files to import.

git annex import /dir --include='*.png'

--jobs=N -JN
Imports multiple files in parallel. This may be faster. For example: -J4

CAVEATS


Note that using --deduplicate or --clean-duplicates with the WORM backend does not look at
file content, but filename and mtime.

Use git-annex-import online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 4
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 6
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 7
    LMS-YouTube
    LMS-YouTube
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/lms-y...
    Download LMS-YouTube
  • More »

Linux commands

  • 1
    2vcard
    2vcard
    2vcard - convert addressbooks to VCARD
    format ...
    Run 2vcard
  • 2
    2xml
    2xml
    xml2 - convert xml documents in a flat
    format 2xml - convert flat format into
    xml html2 - convert html documents in a
    flat format 2html - convert flat format
    i...
    Run 2xml
  • 3
    cpupower
    cpupower
    cpupower - Shows and sets processor
    power related values ...
    Run cpupower
  • 4
    cqrlog
    cqrlog
    CQRLOG - Advanced logging program for
    hamradio operators DESCRIPTION: CQRLOG
    is an advanced ham radio logger based on
    MySQL database. Provides radio control
    ba...
    Run cqrlog
  • 5
    gammu-smsd
    gammu-smsd
    gammu-smsd - SMS daemon for Gammu ...
    Run gammu-smsd
  • 6
    gammu
    gammu
    gammu - Does some neat things with your
    cellular phone or modem. ...
    Run gammu
  • More »

Ad