zoukankan      html  css  js  c++  java
  • rename file

    https://askubuntu.com/questions/790633/the-o-parameter-in-aria2c-cant-rename-the-downloaded-file

    You are out of luck when attempting to rename .torrent files with aria2c, from the man pages:

     -o, --out=<FILE>
          The   file name of the downloaded file. When the
          --force-sequential option is used, this option is ignored.
    
          NOTE:
          You  cannot  specify  a  file name for Metalink or BitTorrent
          downloads.
    

    Note that this information is not contained in the help given with the command:

    aria2c -h
    

    but in the man pages that are read with the following:

    man aria2c
    

    With other types of files aria2c works very nicely and appropriately renames as directed:

    andrew@athens:~$ aria2c -d $HOME/test -o testing.jpg http://www.andrews-corner.org/images/fluxbox.jpg
    [#3f8528 32KiB/417KiB(7%) CN:1 DL:87KiB ETA:4s]                                               
    06/24 18:29:14 [NOTICE] Download complete: /home/andrew/test/testing.jpg
    
    Download Results:
    gid   |stat|avg speed  |path/URI
    ======+====+===========+=======================================================
    3f8528|OK  |   312KiB/s|/home/andrew/test/testing.jpg
    
    Status Legend:
    (OK):download completed.
    

    Sorry to be the bearer of bad news...

  • 相关阅读:
    HUST 1372 marshmallow
    HUST 1371 Emergency relief
    CodeForces 629D Babaei and Birthday Cake
    CodeForces 629C Famil Door and Brackets
    ZOJ 3872 Beauty of Array
    ZOJ 3870 Team Formation
    HDU 5631 Rikka with Graph
    HDU 5630 Rikka with Chess
    CodeForces 626D Jerry's Protest
    【POJ 1964】 City Game
  • 原文地址:https://www.cnblogs.com/pythonClub/p/10918390.html
Copyright © 2011-2022 走看看