I need a bash script that downloads (from URL) an archive in the /tmp directory, unzip it and create a text file with information - date of unzipping, time of unzipping, file size and file name. All scripts and comments are welcome. Thanks in advance guys!
wget can download the file for you. You can then use unp to extract it easily. du will be good to show file and folder sizes. Date and time can be added to text files. For the full date / time use this sort of thing https://tecadmin.net/get-current-date-and-time-in-bash/
View Tag Cloud
Ubuntu Forums Code of Conduct