Why is wget copying my directory tree with some files with "@"?
I'm using wget 1.11.4 on Cygwin 1.5.25.
I'm trying to recursively download a directory tree, which is the root of a javadoc tree.
This is approximately the command line I tried:
When it finished, it seemed like it downloaded many files the way I expected, such that it created a directory corresponding to the URL path element, and put the new file into that new directory. However, many other files were put in the "root" directory which should have been in directories, and the resulting name looked like "index.html@text%2Ftest%2Ftext.html".
I also noticed that for the files that got written like that, the request for the file from wget looked like this:
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Dear Ladies & Gents,
I have a requirement to delete all the log files in /var/log/test directory that are older than 10 days and their first line begin with "MSH" or "<?xml" or "FHS". I've put together the following BASH script, but it's erroring out:
for filename in $(find /var/log/test... (2 Replies)
Hello,
I want to gzip some files before copying to remote host. There is no freespace on source host so it needs to be perfomed within one-liner. I tried the following but it didn't work
gzip -c -9 all_rvds.xml |ssh targethost "dd of=/tmp/all_rvds.xml.gz"
cat all_rvds.xml |gzip -c9 |ssh... (5 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi All,
I have working (Perl) code to combine 2 input files into a single output file using the join function that works to a point, but has the following limitations:
1. I am restrained to 2 input files only.
2. Only the "matched" fields are written out to the "matched" output file and... (1 Reply)
I wrote a script to delete files which are older than "x" days, if the size of the directory is greater than "y"
#!/bin/bash
du -hs $1
while read SIZE ENTRY
do
if ;
then
find $1 -mtime +$2 -exec rm -f {} \;
echo "Files older than $2 days deleted"
else
echo "free Space available"... (4 Replies)
I tried to copy data from one location to multiple location my typing...
cp <source> <dest> <dest>
however this will omits one of the destination ... and proceed to copy to only one directory (2 Replies)
I need some suggestions on how to write the code to copy multiple files rather than duplicating the code multiple times.
Example: I have four files that need to go throught this logic in the same way. Do I have to duplicate this chunk of code four times or can I built the logic in the same set... (2 Replies)
Hi Friends,
How can I Restore the Files present under "lost+found" Directory of a FileSystem (in Solaris & Tru64 OS) to their original Locations.
Now-a-days I am loosing lots of files in 2 of my Machines,
One running Solaris8 and other Tru64(Digital) Unix.
Thanx in... (1 Reply)
Hi,
Within a shell script I'm trying to copy all the files in a directory structure to another folder but only the files of type "pdf"
I have made a start but I can't work out how to finish it.
find $ATEBUILD/doc/user -name "*.pdf" | xargs cp THEN WHAT?
I hope this makes sense!
Rob (6 Replies)
XMKMF(1) General Commands Manual XMKMF(1)NAME
xmkmf - create a Makefile from an Imakefile
SYNOPSIS
xmkmf [ -a ] [ topdir [ curdir ] ]
DESCRIPTION
The xmkmf command is the normal way to create a Makefile from an Imakefile shipped with third-party software.
When invoked with no arguments in a directory containing an Imakefile, the imake program is run with arguments appropriate for your system
(configured into xmkmf when X was built) and generates a Makefile.
When invoked with the -a option, xmkmf builds the Makefile in the current directory, and then automatically executes ``make Makefiles'' (in
case there are subdirectories), ``make includes'', and ``make depend'' for you. This is the normal way to configure software that is out-
side the X Consortium build tree.
If working inside the X Consortium build tree (unlikely unless you are an X developer, and even then this option is never really used), the
topdir argument should be specified as the relative pathname from the current directory to the top of the build tree. Optionally, curdir
may be specified as a relative pathname from the top of the build tree to the current directory. It is necessary to supply curdir if the
current directory has subdirectories, or the Makefile will not be able to build the subdirectories. If a topdir is given, xmkmf assumes
nothing is installed on your system and looks for files in the build tree instead of using the installed versions.
SEE ALSO imake(1)X Version 11 imake 1.0.2 XMKMF(1)