Home Linux Community Forums Linux System Administration Command Line/Scripting Looking to learn some scripting/anything else needed to figure this out..

Looking to learn some scripting/anything else needed to figure this out..

Link to this post 30 Nov 12

I want to unzip or unrar some files of pictures and then resize them smaller for my phone then rezip/rerar them. I do not want the scipt to do it directly i want to be lead to the information that will help me make a script to do it. basically skill wise i know a few commands to move around on a command line but not much else. i appreciate any help you could give i also have no programming skills. if this project is going to take time i want to take the time to learn. If it takes a year thats fine by me. I love the idea and concepts of linux, and honestly my biggest hobby is computers. And if anyone has some literature, help me figure out which kind of distro i should use between: arch, gentoo, slackware, debian, red hat, ie the type of package management. i like new software but not beta's, and i am really getting disgusted at the amount of ram windows requires even though i have 4 gigs i just get annoyed at how much it uses by itself.

Link to this post 01 Dec 12

That is a fair goal and pretty easy to accomplish, here are the steps I recommend.

  1. You can use the unzip and unrar commands to extract files from an archive

  2. Loop through the files you wish to convert ( )

  3. Use the imagemagik convert command to resize the files ( )

  4. Archive the new files using the tools for the chosen format ( )

As for choosing a distro, any distro will be able to handle this task very easily. If you want a system with good package management, no beta software and a very stable core I recommend looking at debian or centos. If you want more of a do it yourself learning distro you can try arch Linux, however it is a rolling distro with a lot of beta software.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board