10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to copy only the date specific folders/directories using the following command. However, the following copy command is also copying files from the root folder (OriginalFolder).
find /OriginalFolder/ -type -d \{ -mtime 1 -o -mtime 2 \ } -exec cp -R {} /CopyTo/'hostname'__CopyTo/ \;... (2 Replies)
Discussion started by: apacheLinux
2 Replies
2. Web Development
hi,
i have a list box , a text box and a button in a html form.
list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value.
can any1 give me a html and javascript code to do this facility.
... (1 Reply)
Discussion started by: Little
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Experts,
I just want to copy some selected strings from a a file into a new .txt file .
I am using below command to find the data now want to copy the search results into another .txt file please help me .
find /Path -exec grep -w "filename1|filename1|filename1|" '{}' \;... (2 Replies)
Discussion started by: mumakhij
2 Replies
4. UNIX for Dummies Questions & Answers
how can i copy those files into other directories have the same name but different in the end
i have files in directory called test:
10_10_asdadfsdfad.txt
10_10_11_asdawqefwkjasd.txt
10_10_11_12_asdafjjhoqwd.txt
i want to put them in exist directory thart i have on my system
i have... (1 Reply)
Discussion started by: t17
1 Replies
5. Shell Programming and Scripting
I am trying to print 1st, 2nd, 13th and 14th fields of a file of line numbers from 29 to 10029. I dont know how to put this in one code. Currently I am removing the selected lines by
awk 'NR==29,NR==10029' File1 > File2
and then doing
awk '{print $1, $2, $13, $14}' File2 > File3
Can... (3 Replies)
Discussion started by: ananyob
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am looking to copy selected lines from a file using the vim editor. I have looked up a few resources and they have suggested to use this-
Type mk
Type: "ay'k (double quotes, <register name from a-z>, <y-yank single quote, k
You can paste those lines wherever you want with "ap
I tried... (7 Replies)
Discussion started by: coolavi
7 Replies
7. UNIX for Dummies Questions & Answers
Hello-
I need to copy a file into multiple directories, and each directory's sub-directories (of which there are 5)
Currently, the parent directory is set up like this:
dir1
sub-dir1
sub-dir2
sub-dir3
sub-dir4
sub-dir5
dir2
sub-dir1
sub-dir2
sub-dir3
... (1 Reply)
Discussion started by: penlok
1 Replies
8. UNIX for Dummies Questions & Answers
I am wanting to find files within a directory that are over a certain number of days old and copy them to another directory. And unfortunately not having much luck.......is someone able to help.
Would also like to add that there are literally thousands of files that I am wanting to copy in one... (3 Replies)
Discussion started by: hellfyre
3 Replies
9. Shell Programming and Scripting
I want to capture contents of a file between 2 strings into another file
for eg all lines in between the keywords "start log" and "end log" should be copied into another file (4 Replies)
Discussion started by: misenkiser
4 Replies
10. Solaris
I need to copy the files from one dir to another dir based on sysdate, like
cp -> (sysdate-n) filename -> to -> new dir
n = 1,2,3.............. (3 Replies)
Discussion started by: dbasan
3 Replies