EnglishFrenchSpanish

OnWorks favicon

hardlink - Online in the Cloud

Run hardlink in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hardlink 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


hardlink - Link multiple copies of a file

SYNOPSIS


hardlink [option]... [directory|file]...

DESCRIPTION


hardlink is a tool which replaces copies of a file with hardlinks, therefore saving space.

OPTIONS


-h or --help
print quick usage details to the screen.

-v or --verbose
More verbose output. If specified once, every hardlinked file is displayed, if
specified twice, it also shows every comparison.

-n or --dry-run
Do not act, just print what would happen

-f or --respect-name
Only try to link files with the same (basename).

-p or --ignore-mode
Link/compare files even if their mode is different. This may be a bit
unpredictable.

-o or --ignore-owner
Link/compare files even if their owner (user and group) is different. It is not
predictable

-t or --ignore-time
Link/compare files even if their time of modification is different. You almost
always want this.

-X or --respect-xattrs
Only try to link files with the same extended attributes.

-m or --maximize
Among equal files, keep the file with the highest link count.

-M or --minimize
Among equal files, keep the file with the lowest link count.

-O or --keep-oldest
Among equal files, keep the oldest file (least recent modification time). By
default, the newest file is kept. If --maximize or --minimize is specified, the
link count has a higher precedence than the time of modification.

-x or --exclude
A regular expression which excludes files from being compared and linked.

-i or --include
A regular expression to include files. If the option --exclude has been given, this
option re-includes files which would otherwise be excluded. If the option is used
without --exclude, only files matched by the pattern are included.

-s or --nimum-size
The minimum size to consider. By default this is 1, so empty files will not be
linked. An optional suffix of K,M,G,T may be provided, indicating that the file
size is KiB,MiB,GiB,TiB.

ARGUMENTS


hardlink takes one or more directories which will be searched for files to be linked.

Use hardlink online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 2
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 3
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 4
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 6
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • More »

Linux commands

Ad