9 More Discussions You Might Find Interesting
1. AIX
Hi All,
please help me with the command for moving/copying one directory(including subdirectories) to one directory in another mount point in same server in AIX ...
thanksss (7 Replies)
Discussion started by: Sanal
7 Replies
2. UNIX for Dummies Questions & Answers
i have a script to look for a file, but it moves a file that's being used.
i want to use:
if file exists > 0, and not being updated/used in the last 2 minutes, move to /tmp
i can do this much:
if
then
mv filename.txt /tmp
else
exit
fi
or how can i check if... (3 Replies)
Discussion started by: tjmannonline
3 Replies
3. UNIX for Dummies Questions & Answers
I have multiple file with names
april.0001.frm.edi
april.0002.frm.edi
I created a list with all the file names which has "860" inside the file and named the list as april-860-list
I need to move all the files to name
CHRY.860.01
CHRY.860.02
from that list.
How do I do that?
I... (3 Replies)
Discussion started by: yshahiac
3 Replies
4. Shell Programming and Scripting
hi,
i was trying to move a file from my directoty to the home directory.
* the file is not found in my directory too as it is moved but not found in the home directory
i was using:
cd my_dir
mv filename homedir_name
So kindly tell me... (2 Replies)
Discussion started by: janani_kalyan
2 Replies
5. Shell Programming and Scripting
Message broker is creating multiple files on my unix box.
Files are like *.txt, *.dat, *.csv etc.
I can pass following parameters to my script,
$SourceFileDir, $TargetFileDir, $FileName.
I wrote a script which can move one files from $SourceFileDir to $TargetFileDir after assigning... (1 Reply)
Discussion started by: monicasgupta
1 Replies
6. Shell Programming and Scripting
what is way to not move a latest file in a a particular folder X.
There are number of files in the folder, I donot want to move the latest file into another folder.
Can anyone figure out where is wrong in the script.
lastfile=$(ls -rt | tail -1)
for allfile in $(ls | grep -v... (4 Replies)
Discussion started by: u263066
4 Replies
7. UNIX for Advanced & Expert Users
How can I move a file and compress it at the same time? (8 Replies)
Discussion started by: truma1
8 Replies
8. Shell Programming and Scripting
In the directory /tmp , there are some new files will be created to it by time to time , I want to mv the files that are created within 15 minutes to other direcory eg. /tmp/backup , could suggest what can I do ? thx (1 Reply)
Discussion started by: ust
1 Replies
9. Shell Programming and Scripting
I want to move files ( about 1000 files ) from /tmp/edp1 to /tmp/edp2, all files are no extension, I want to add .txt to the end of all files ( eg. the original file name is oracl , the new file name should be oracl.txt ) , could suggest what can I do ? thx (5 Replies)
Discussion started by: ust
5 Replies