I'm Arnaud and I'm new on this forum, I begin in the Shell. Let me explain, I want to test the presence of file, so far so good. Below, my code :
I would like to recover in a variable $fichier, only the file doesn't exist. I want to it like that to avoid many "if" Can you help me please. Sorry for my english, I begin also
Hi rovf, Below this is my desired result for example :
I would like that the output me says only the file that not exist.. sorry if I am not very clear
Well, from a linguistic point of view, when listening exactly the non-existing files, the connection word should not be or, but and, but anyway: In this case you have two choices: Output the missing bits piece by piece, or collect everything into one array and output the result afterwards. I would go for the latter. Here is a sketch of the program:
Hi,
By mistake, executed the following command :
rm -rf *
and ALL files got deleted.
But I need to get back these files as they are very very important.
Please help me how to recover this file. Its Urgent for me please.
Thanks in advance. (6 Replies)
Hi Guys
I accidently deleted a directory( and the files in it) in unix using 'rm -rf' :)
Is there any procedure/script/command to recover the same?
Your help is highly apperciated
-thanks
Subramanya (1 Reply)
Hi Experts,
by mistake i deleted some files that are very important to the project.
is there any way that i can recover those files,there is no backup for that but the details of the file we know.
This will be a great help.
Thanks (5 Replies)
Using dd or similar tools to recover data from 2 damaged cdroms, I need a way to then combine the 2 files, 1 from each cd, and make a good file: this all result from finding that certain cd's tops scratch easily even when using the "proper" cd markers, hence making the file useless, however the... (1 Reply)
Hello,
In my shell program, I need to test for a specific size of a text file before it can be imported into an oracle table.
If the size is less than that number, my program should stop processing. What is the correct command to do this test?
Thanks! (1 Reply)