Search Results

Search: Posts Made By: Eclecticaa
2,074
Posted By Eclecticaa
Second parameter is not recognized
Hey I have a problem with my script.
I writing a script which can depend whether you want to make a file or a directory.
I only give the code where you can find the problem.
My loop doesn't stop...
6,267
Posted By Eclecticaa
It's ok i gave the wrong destination directory...
It's ok i gave the wrong destination directory sorry!
It works now thanks
6,267
Posted By Eclecticaa
The echo is fine but when i try to copy it...
The echo is fine
but when i try to copy it gives me an error:

He says that he can't make the normal file because it doesn't exists
But it does ...
6,267
Posted By Eclecticaa
ok, /home/user/dir1/subdir1/file1 ...
ok,

/home/user/dir1/subdir1/file1
/homer/user/dir2/file2
/home/user/file3
copy these files to /home/user/lala

---------- Post updated at 05:04 PM ---------- Previous update was at 05:00 PM...
6,267
Posted By Eclecticaa
but i haven't always subdirs :p
but i haven't always subdirs :p
6,267
Posted By Eclecticaa
I mean for different files starting with file* ...
I mean for different files starting with file*

---------- Post updated at 04:30 PM ---------- Previous update was at 04:14 PM ----------

for example

/home/user/test1/subdir1/file1...
6,267
Posted By Eclecticaa
Copy files from subdir
Hey,

How can I copy files from subdirectories without copy the subdir
and copy it to a higher dir

For example:

/home/test/subdir/file1

copy file1 to /home or another dir

thanx
3,095
Posted By Eclecticaa
Thanks i just found on google the same answer
Thanks i just found on google the same answer
3,095
Posted By Eclecticaa
How does linux recognize file types?
Hey ,

I was wondering how does Linux recognize file types if he doesn't use extensions to determine the file type ?

It's just a question not for a script or something else.

thnx:o
4,931
Posted By Eclecticaa
Check parameter is number or string
Hey I'm new in linux,

I'm looking for a code to check whether the parameter is a number or a string.

I have already tried this code:
eerste=$(echo $1 | grep "^[0-9]*$">aux)
if [ eerste ]...
Showing results 1 to 10 of 10

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