본문으로 바로가기

wget 다운로드 경로 지정해주기

category Coding 2017. 12. 1. 22:24
반응형

-O is the option to specify the path of the file you want to download to.

wget <file.ext> -O /path/to/folder/file.ext

-P is prefix where it will download the file in the directory

wget <file.ext> -P /path/to/folder


-O를 주면 디렉토리와 저장될 파일명까지 지정할 수 있고

-P만 주면 디렉토리를 지정할 수 있다.

반응형