Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Shell script HTML move
Name: oxi2k Date: December 17, 2002 at 20:56:57 Pacific OS: Unix any CPU/Ram: any
Comment:
Have a nice script to write, but need some help. Write a script that will transfer all html from a specified or current by default dir to public_html. And move all pictures *.gif and .jpg files to public_html/pics dir. So htmlmv executed in you dir, then it should move all *.htm or .html files to ~username/public_htm dir and ~username/public_htm/pics dir. And one more thing if htmlmv executed with an option [-d] dirname move all files to ~user/dirname. Thanx in advance, David
Summary: Hi All, I want to move the records with certain pattern from one file to other. Could you please anyone suggest me, what is the exact command (or shell script) to achieve this? Example: File ‘Aâ...
Summary: Hi, I was wondering if anybody knew how to make a shell script that will make a backup of a file example (mv out out.bak) but the next time you run the script i want the original backup file to still ...
Summary: I need to write a shell script that find all files named user.cgi and move them to the /tmp directory, sending standard error to the bit bucket in one command line, then search for the application pe...