Search Results

Search: Posts Made By: subhasri_2020
44,815
Posted By subhasri_2020
I am doing as below. I did a pwd on my...
I am doing as below.

I did a pwd on my source directory it is showing as

/root/poc/

and I did a pwd on my target directory it is showing as

/sune/dan/

I executed the following code
...
44,815
Posted By subhasri_2020
Hey I have tried with braces but ..it's not...
Hey I have tried with braces but ..it's not moving teh files


find /root/dun/ -type f -name "*.log" -amin +360 -exec mv {} \sune\dan\;

the command is working properly but I am not getting the...
44,815
Posted By subhasri_2020
Hey I tried with braces.., but no luck find...
Hey I tried with braces.., but no luck

find /root/dun/ -type f -name "*.log" -amin +360 -exec mv {} \sune\dan\;
44,815
Posted By subhasri_2020
Thanks for the replies. I have modified the...
Thanks for the replies.
I have modified the script instead of removing I am moving the files to archive location.
but when when I am executing I am getting the blow error

find /root/dun/ -type f...
44,815
Posted By subhasri_2020
Deleting files older than 6 hours
Hi All,


I am using the below script to find all the files in a folder which are older than 6 hours and delete all those files, but some how I am not getting the required output.
find $HOME/Log...
1,595
Posted By subhasri_2020
HI, I didn't get the .tmp thing, when the...
HI,

I didn't get the .tmp thing, when the source files are in copying state in the source directory they are not having any .tmp extension , this process will be required for a datamigration...
1,595
Posted By subhasri_2020
File name should not be captured if still copying
HI,

I am running a shell script on a folder where our sources files will be published for every 5 mins, I am copying all the source files(i.e .csv format) to a .txt as ls *.csv > camp.txt.

Now...
3,120
Posted By subhasri_2020
Thanks for the replies.I am able to move the...
Thanks for the replies.I am able to move the files which are .txt to differnt dir.

Thanks a lot :-)
3,120
Posted By subhasri_2020
moving the files in a.txt files to a different directory
HI All,

I am coding a shell script which will pick all the .csv files in a particular directoryand write it in to a .txt file, this .txt file i will use as a source in datastage for processing.
...
Showing results 1 to 9 of 9

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