10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
cp bin root src /mnt
but not copy bin/bigfile
( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum)
Thanks (6 Replies)
Discussion started by: yanglei_fage
2. Shell Programming and Scripting
I am trying to sort the following files from folder Bag to Apple, Cat Food, Dog Food. I can get all of the files I want into a new folder, but not sure of the best approch to get them to their final directory
cat food 101.ext
Cat Food... (2 Replies)
Discussion started by: mtschroeder
I've been spending a lot of hours trying to imitate cp copying a file to a directory.
I just can't seem to write to a specified directory, it only creates a copy on the current directory.
any hints/tips will help! Thanks!
here's the code i've been trying to manipulate:
... (1 Reply)
Discussion started by: l flipboi l
4. Shell Programming and Scripting
I am looking for an answer for following senario:
I have a text file (base.txt) which consist list of files to be searched like:
Now i am going to search all the listed files in another directory after reading them one by one, once i found the... (10 Replies)
Discussion started by: apjneeraj
5. Shell Programming and Scripting
i want a samll help to write a script.
i had source location with :/user/bin (bin contains subdirectories with like names emails etc and had several files in each subdirectory)
and target location with :/usr/scripts (having same subdirectories names and had some files)... (1 Reply)
Discussion started by: Reddy482
6. Shell Programming and Scripting
I wish to copy the latest file of pattern "MyFile*" to some other location.
I need to do all the operation in a single command separated by |.
ls -rt <MyFile*> | tail -1 | <copy command>.
How can I do?
Please help me.
Kanda (2 Replies)
Discussion started by: spkandy
7. Shell Programming and Scripting
I am in the directory a/b/processed
the files in this directories are
-rw-r--r-- 1 owb users 330 Aug 8 chandantest.txt_08082008
-rw-r--r-- 1 owb users 220 Aug 7 chandantest.txt_07082008
-rw-r--r-- 1 owb users 330 Aug 6... (3 Replies)
Discussion started by: chandancsc
8. Shell Programming and Scripting
I wanted to know how i can copy a file to a directory and then verify if that file is completely copied or not?
Now the issues here is that the dir and the source file are to be sent as arguments to a function( this function should actually copy the files to a dir, then check if its... (0 Replies)
Discussion started by: wrapster
I have created a file that has list of all the files I want to copy into another directory.Is there a way to do it?
Thanks In advance (4 Replies)
Discussion started by: shreethik
10. UNIX for Dummies Questions & Answers
I am new in unix and look for help in urgent.
I have a list of data files that located in a directory, and need to copy to another directory for loading. The condition here is, the list of data files has to be copy over by sequence, and if there is no file in targetted directory already.
... (4 Replies)
Discussion started by: fooky