The "find" is probably not hung. It will take time to search from root down. The error messages "find: cannot open" are because you are not logged in as "root" and do not have permission look at some directories. This is harmless because you could not have created a file in one of those directories. If you really don't know where you created the file, the find from root will find it eventually.
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Hi all
I need to copy the entire contents of one file into an existing file at a specific location. I know the exact line number where I need to put it. It appears I would use either sed or awk to do this, but I have been unsuccessful so far:
File A
line 1
line 2
line 3
line 4
... (6 Replies)
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Hello.
I want to to backup some "default:" values from a file do some other job and after restore that "default:" values back.
The problem is that the source and destination file has a lot of default: strings in it but with different values...
So..
Here is an example:
A part of my source... (6 Replies)
This question could be specific to the site subdivx.com In the past, I've been able to download a file following location using cURL but there is something about subdivx.com that's different and can't figure out how to get it to work.
I tried the following directly in the terminal with no... (5 Replies)
Discussion started by: MoonD
5 Replies
LEARN ABOUT PHP
gupnp_root_device_new
GUPNP_ROOT_DEVICE_NEW(3) 1 GUPNP_ROOT_DEVICE_NEW(3)gupnp_root_device_new - Create a new root deviceSYNOPSIS
resource gupnp_root_device_new (resource $context, string $location, string $description_dir)
DESCRIPTION
Create a new root device, automatically downloading and parsing location.
PARAMETERS
o $context
- A context identifier, returned by gupnp_context_new(3).
o $location
- Location of the description file for this device, relative to the HTTP root
RETURN VALUES
A root device identifier.
EXAMPLES
Example #1
Create new UPnP context and get device info service
<?php
/* Create the UPnP context */
$context = gupnp_context_new();
if (!$context) {
die("Error creating the GUPnP context
");
}
/* Create root device */
$location = "/BinaryLight1.xml";
$dev = gupnp_root_device_new($context, $location);
?>
SEE ALSO gupnp_root_device_set_available(3), gupnp_root_device_start(3), gupnp_root_device_stop(3).
PHP Documentation Group GUPNP_ROOT_DEVICE_NEW(3)