Search Results

Search: Posts Made By: samkhu
3,313
Posted By samkhu
But how it find files on server B when u r at A...
But how it find files on server B when u r at A server.

Also let me know how can i use predefine password in scp.
3,313
Posted By samkhu
scp -p sam@A:/name/Book* /name/ works fine ...
scp -p sam@A:/name/Book* /name/
works fine
Q1- i need to merge pwd option in same line as well.
Q2- above command fails if i can use
scp sam@A:`find /name/ -name 'Book*' -mtime -10` /name/
3,313
Posted By samkhu
Linus server two server A and B we...
Linus server

two server A and B

we are at server B- location /name/

need to copy files from A to B which comes under

find $mainPath -name 'Book*' -mtime -10
3,313
Posted By samkhu
Copying files from one server to other.
Any one advice here-

need to copy some files from one server to other server thru shell programming.
3,791
Posted By samkhu
instal GNU date is not possible for some reason. ...
instal GNU date is not possible for some reason.
but if i can run
a=$(date +%d)
echo "$a"
b=$(($a-01))
echo "$b"
its giving result..do this is not part of GNU date?
also ping here if you have...
3,791
Posted By samkhu
so whats d solution for this?
so whats d solution for this?
2,272
Posted By samkhu
let me try. can you please let me know which var...
let me try. can you please let me know which var can be used to identify the file mean where can i define the file name which needs to read.
2,272
Posted By samkhu
@Pludi-- actually i need to put into one shell...
@Pludi-- actually i need to put into one shell scripting file thats y asking.
3,791
Posted By samkhu
Re
bash$ date -d '1 week ago'
date: Not a recognized flag: d
Usage: date [-u] [+"Field Descriptors"]

this is giving error for option d.
2,272
Posted By samkhu
reformat of file
really aprecaite ur reponse. but can you please share logic in shell scritping not in perl.
3,791
Posted By samkhu
help on date.
need the two date's one is curdate -1 (yesterday) and 2nd is curdate-7 date in format Nov 23.


a=$(date +%d)
echo "$a"
b=$(($a-01))
echo "$b"
this will fail incase of starting of months.
2,272
Posted By samkhu
Reformat the data of a file.
I have a file which have data like

A.txt
a
1Jan I am in a1.
1Jan I was born.
2Jan I am here.
3Jan I am in a3.

b
1Jan I am in b1.

c
2Jan I am in c2.

d
2Jan I am in d2.
5jan I...
Showing results 1 to 12 of 12

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