Search within Other Languages
Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Bash Shell Script Questions
posted 1 year ago
Number of slices to send:
Optional 'thank-you' note:
I have a file that has this filename: someText-2020-01-29.zip
The "2020" in the filename is the year. The "01" in the filename is the month and the "29" in the filename is the day.
How can I divide that filename into substrings using a bash shell script? I would like to extract the year, month, and day from the filename and set them equal to different variables.
I have several different files in a folder and some of those files are zip files. How can I write a bash shell script that can find out whether or not the files in my folder are zip files?
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
Thread Boost feature
Boost this thread!
How to update Tomcat's JVM in Linux?
Need unix shell script Help
cutting file_id from file name by looping through foolders UNIX
Linux problem getting error in creating folder via tomcat app