Skip to content

Commit

Permalink
v1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjake committed Dec 7, 2017
1 parent 7be24ee commit 8e9766f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
4 changes: 2 additions & 2 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Release History
---------------

1.7.5 (?)
+++++++++
1.7.5 (2017-12-07)
++++++++++++++++++

**Feautres and Improvements**

Expand Down
23 changes: 23 additions & 0 deletions docs/source/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ You can use the ``--retries`` parameter to retry on errors (i.e. if IA-S3 is ove
$ ia upload <identifier> file1 --retries 10
Note that ``ia upload`` makes a backup of any files that are clobbered.
They are saved to a directory in the item named ``history/files/``.
The fiels are named in the format ``$key.~N~``.
These files can be deleted like normal files.
You can also prevent the backup from happening on clobbers by adding ``-H x-archive-keep-old-version:0`` to your command.

Refer to `archive.org Identifiers <metadata.html#archive-org-identifiers>`_ for more information on creating valid archive.org identifiers.
Please also read the `Internet Archive Items <items.html>`_ page before getting started.

Expand Down Expand Up @@ -250,6 +256,12 @@ Delete all files in an item:
$ ia delete <identifier> --all
Note that ``ia delete`` makes a backup of any files that are deleted.
They are saved to a directory in the item named ``history/files/``.
The fiels are named in the format ``$key.~N~``.
These files can be deleted like normal files.
You can also prevent the backup from happening on deletes by adding ``-H x-archive-keep-old-version:0`` to your command.

See ``ia help delete`` for more details.


Expand Down Expand Up @@ -332,8 +344,19 @@ If you're copying your file to a new item, you can provide metadata as well:
$ ia copy <src-identifier>/<src-filename> <dest-identifier>/<dest-filename> --metadata 'title:My New Item' --metadata collection:test_collection
Note that ``ia copy`` makes a backup of any files that are clobbered.
They are saved to a directory in the item named ``history/files/``.
The fiels are named in the format ``$key.~N~``.
These files can be deleted like normal files.
You can also prevent the backup from happening on clobbers by adding ``-H x-archive-keep-old-version:0`` to your command.

Move
----

``ia move`` works just like ``ia copy`` except the source file is deleted after the file has been successfully copied.

Note that ``ia move`` makes a backup of any files that are clobbered or deleted.
They are saved to a directory in the item named ``history/files/``.
The fiels are named in the format ``$key.~N~``.
These files can be deleted like normal files.
You can also prevent the backup from happening on clobbers or deletes by adding ``-H x-archive-keep-old-version:0`` to your command.
2 changes: 1 addition & 1 deletion internetarchive/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from __future__ import absolute_import

__title__ = 'internetarchive'
__version__ = '1.7.5.dev1'
__version__ = '1.7.5'
__author__ = 'Jacob M. Johnson'
__license__ = 'AGPL 3'
__copyright__ = 'Copyright (C) 2012-2017 Internet Archive'
Expand Down

0 comments on commit 8e9766f

Please sign in to comment.