summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2016-07-18 23:11:55 +0200
committerNils Maier <maierman@web.de>2016-07-19 20:55:41 +0200
commit665a1d1b3581dc0fc7076cf66be2fc8982ab7be2 (patch)
tree8e3d1f14518c021a31f6dd8068828ea9cb6553b9 /doc
parentb6d9e7a01fb7f82fb52448e2cf9f6f6c6c25f8ad (diff)
Better auto-renaming
Up until now aria2 file auto renaming worked by just appending a new unique number to the file path, behind the file name extension, if any, changing what most other programs consider the file extension in the process. Now, aria2 will attempt to insert the number before the file extension, leaving the extension intact, so that e.g. a ".jpg" still is a ".jpg" file and opens in your configured image viewer when clicking it. If a file has no extension (incl. so called "dot files"), the number will be appended to the file name as usual. Note: This is a potentially breaking change that might break third party scripts that rely on aria2 auto file renaming producing a certain format for renamed files. Please fix your scripts accordingly. Closes GH-709
Diffstat (limited to 'doc')
-rw-r--r--doc/manual-src/en/aria2c.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst
index 83182860..539b8e66 100644
--- a/doc/manual-src/en/aria2c.rst
+++ b/doc/manual-src/en/aria2c.rst
@@ -1175,7 +1175,8 @@ Advanced Options
Rename file name if the same file already exists.
This option works only in HTTP(S)/FTP download.
- The new file name has a dot and a number(1..9999) appended.
+ The new file name has a dot and a number(1..9999) appended after the
+ name, but before the file extension, if any.
Default: ``true``
.. option:: --auto-save-interval=<SEC>