wget下载文件到指定的directory

参照:https://stackoverflow.com/questions/1078524/how-to-specify-the-download-location-with-wget

 

-P prefix
--directory-prefix=prefix
           Set directory prefix to prefix.  The directory prefix is the
           directory where all other files and sub-directories will be
           saved to, i.e. the top of the retrieval tree.  The default
           is . (the current directory).

 

wget -c "your url" -P /home/euler/te_2024/

 

posted @ 2024-02-01 20:36  profesor  阅读(38)  评论(0编辑  收藏  举报