Shell script to iterate over files in a directory
It is very easy to iterate over all the files in a directory to perform bulk operations like reducing the file size of multiple videos.
#shell #ffmpeg #forloop
It is very easy to iterate over all the files in a directory to perform bulk operations like reducing the file size of multiple videos.
#shell #ffmpeg #forloop
A simple shell script that I use to find a random image from a directory and change the wallpaper.
Everyone wants to upload file to a Jira issue using REST API. So let us do that.
#AddAttachment #JiraRESTAPI
Endpoint: POST /rest/api/3/issue/an-232/attachments
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/addAttachment…
I found this brilliant way to show your #webcam using a #shell #script, not only that you can also #zoomin and #zoomout using nothing but a shell script.
Tom on the Internet: https://www.youtube.com/watch?v=GVTwH80DTYc
Code: https://github.com/tom-on-the-internet/webcam
Get rid of those test projects by using a simple shell script. Let us write this together today, it will take just few minutes.
#DeleteProject #JiraRESTAPI
Endpoint: DELETE /rest/api/3/project/DEL
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/deleteProject…
Don't delete an issue without a valid reason. A simple #shell script can delete an issue for you with all it's sub-tasks.
#UpdateIssue #JiraRESTAPI
Endpoint: DELETE /rest/api/3/issue/an-233
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/deleteIssue.sh
You may need to update the issue as well. Let me share how to update system fields, text field and number field using #shell script of course.
#UpdateIssue #JiraRESTAPI
Endpoint: GET /rest/api/3/issue/an-233
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/editIssue.sh
I am sharing my shell script that I use regularly to create a project from my terminal. I use this to create projects quickly for testing purpose. It saves lot of my time.
#CreateProject #JiraRESTAPI
Endpoint: GET /rest/api/3/project/
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/createProject…
The most fundamental thing that you can do in Jira is create an Issue. So let us do that but using a shell script :)
#CreateIssue #JiraRESTAPI
Endpoint: GET /rest/api/3/issue/
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/createIssue.sh
Ravi Sagar
ravi at sparxsys dot com
Author of "Mastering JIRA 7" book. Loves #Jira and #Drupal. #Blogger, #ProblemSolver, #Atlassian #Consultant and #Technologist @ravisagar on twitter
Want my help? raise a support request for me.
Social and other Links