mirror of
https://github.com/techarkit/shell-scripting-tutorial.git
synced 2025-07-31 21:09:32 +00:00
Update and rename 1function.sh to function.sh
This commit is contained in:
@ -1,10 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Purpose: Function example. Taking Backup of Particular File
|
#Purpose: Function example. Taking Backup of Particular File
|
||||||
#Version:1.0
|
#Version:1.0
|
||||||
#Created Date: Sat May 26 00:27:50 IST 2018
|
#Created Date: 2024 Sep 21
|
||||||
#Modified Date:
|
#Modified Date:
|
||||||
#WebSite: https://arkit.co.in
|
#WebSite: https://arkit.co.in
|
||||||
#Author: Ankam Ravi Kumar
|
#Author: Ankam Ravi Kumar
|
||||||
|
|
||||||
# START #
|
# START #
|
||||||
function takebackup (){
|
function takebackup (){
|
||||||
if [ -f $1 ]; then
|
if [ -f $1 ]; then
|
Reference in New Issue
Block a user