Search Results

Search: Posts Made By: Master_Mind
7,986
Posted By Master_Mind
Hi, I am using below code but not able to...
Hi,

I am using below code but not able to proceed how i find the files between these dates

#!/bin/ksh
input_param=$1

YYYY="${input_param%%-*}"
MM="${input_param#*-}" ; MM="${MM%-*}"...
7,986
Posted By Master_Mind
Thanks My OS is SunSolaris and Shell is...
Thanks

My OS is SunSolaris and Shell is Bash

Is it possible to extract the month and year from the date which i pass as parameter and search for that files for copying from the directory
7,986
Posted By Master_Mind
Hi Guys, Basically i need to pick the files...
Hi Guys,

Basically i need to pick the files which are created in current month. i will pass date as parameter in my script


copy_scrtipt.sh YYYY-MM-DD



so based on this i need to pick...
7,986
Posted By Master_Mind
To copy files which are created in particular month
Hi GUys,

I need to copy the files which are created on particuar month

for eg
ls dir
Jul 12 12:46 apple.txt
Jun 16 15:58 file.txt

i need to copy only files which are created on current...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 01:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy