Search Results

Search: Posts Made By: lio123
12,389
Posted By lio123
No it doesnt work it gives me that .csh must be...
No it doesnt work it gives me that .csh must be directory ,do you think that I should switch the order

---------- Post updated at 09:32 PM ---------- Previous update was at 09:30 PM ----------
...
12,389
Posted By lio123
Another question ,how can I add to all files in...
Another question ,how can I add to all files in sertain directory extention to the name file1,file2
file1.exe,file2.exe
I tried this but it doesn work


sed s\" "\.exe\...
12,389
Posted By lio123
I am trying this nova is subdirectory to the...
I am trying this nova is subdirectory to the directory I am in
it prints
cp: Insufficient arguments (1)


find ./ -name "*.csh" -size 1 -exec cp ./nova {}\;
12,389
Posted By lio123
I tried this to but didnt work nova is...
I tried this to but didnt work
nova is directory:wall:


find ./ -name "*.csh" -size 1 | xargs cp ./nova
12,389
Posted By lio123
I did ,and then ask again :wall: find ./...
I did ,and then ask again :wall:

find ./ -name "*.csh" -size 10 | xargs cp ./
find ./ -name "*.csh" -size 1 -exec cp ./tova.bac {} \


Thanks
12,389
Posted By lio123
Thanks can I specified the destination
Thanks
can I specified the destination
12,389
Posted By lio123
Thanks ,how can I do find ./ -name "*.c" -size...
Thanks ,how can I do
find ./ -name "*.c" -size 10
cp here(directory)
12,389
Posted By lio123
Unix How to combine find and cp
Hi ,i want to find sertain files and copy them with cp in current folder
11,249
Posted By lio123
Cshell if statement not working
Hi .I am trying to check the first arguments =-s and the third =-d,but it doesnt work ,any idea why
It gives me if: Missing file name

Thanks

#case -s and files
if( $1 == "-s" && $3 !=...
2,189
Posted By lio123
Thanks
Thanks
2,189
Posted By lio123
How to read and append certain files form directory
Hi ,i have a question ,if I am in sertain directory and I have 4 files *.c
how can I read and append this files in file backup.bac
Thanks


find ./ -name "*.csh" | wc -l
951
Posted By lio123
Usage tar with size parameter
Hi how can i backup files setrain size
Thanks
17,784
Posted By lio123
Rules with using double parentheses in Bash
Hi.could you explain me what are the rules when we are using double parentesis in if statement,if I put [ $# > 0 ],the code is working ,with (( is not



#!/bin/bash
if (($# > 0))
then
if...
1,487
Posted By lio123
I need to code in C shell for a project and I...
I need to code in C shell for a project and I have simmilar script in bash
Thanks
1,487
Posted By lio123
Searching for bash to cshell convertor
Hi ,I have seen this comverters before ,but I was searching today and I can not find them .Is anybody used them before .Any recomendations
Thanks
4,643
Posted By lio123
Thanks ,but it doesn work prints Empty if ...
Thanks ,but it doesn work
prints Empty if


#!/bin/csh
if( $2 =="") then
echo "Please provide correct parameters"
echo "corect call is: $0 <size> <target_directory> <filename list>"
exit...
4,643
Posted By lio123
Thanks ,because I have to check if the tar...
Thanks ,because I have to check if the tar directory exist or not
4,643
Posted By lio123
Help with backup script in C-shell
Hi I am trying to back up files with cshell script .And I have to pass the size of the files,the backup directory and the file
Could you help me with advises ,and am I useing find right
thanks

...
3,071
Posted By lio123
Thanks for the help
Thanks for the help
3,071
Posted By lio123
Thanks a lot ,and another question:p,how can I...
Thanks a lot ,and another question:p,how can I replace certain word in text with diferent one
3,071
Posted By lio123
Thank you very mach,could you show me how to...
Thank you very mach,could you show me how to print the first part of the email before @ sample@yahoo.com to print just sample
Thanks again
3,071
Posted By lio123
Thanks,if I put single quotes gives me no mach...
Thanks,if I put single quotes gives me no mach ,if I put back quotes and print $res,gives me the right result in my case 25
but the next line eval "$res" > result.txt
print Command not found
...
3,071
Posted By lio123
I misstype the code the first time.now this is...
I misstype the code the first time.now this is the code and its printing
Command not found
if I put single quotes ' instead of ` gives me No match



#!/bin/csh
set res=`find . -name...
3,071
Posted By lio123
Thanks for the respond,but it doesnt work ,if I...
Thanks for the respond,but it doesnt work ,if I run the find part it gives me 25,the whole script gives me Command not found:wall:
3,071
Posted By lio123
Thank you ,but when I do that it gives me set:...
Thank you ,but when I do that it gives me
set: No match
Showing results 1 to 25 of 45

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