Accuracy and full factual data is essential to diagnose this sort of fault.
First check that you do not have . in $PATH. This can give trouble if any executable file in the current working directory has the same name as a system command. If in doubt use absolute path names for commands in system scripts or set a custom $PATH specific to the script.
Incorrect use of asterisk characters in a command is more likely, and you probably ran some cleanup script by mistake.
Yeah sorry about that, I hadn't even realized it till you mentioned it. I looked at my $PATH, no . there. So when you say that I may have accidentally run a cleanup script by mistake, how would that have happened? Could cpio have executed something it was trying to copy? Cause I didn't run anything after the command, after it was done copying it just immediately started asking. It actually wasn't really asking if I wanted to delete, I want to say the syntax of what it was saying was something like
Something along those lines. At first it seemed like it was trying to change the permissions of some files. It wasn't until that evening we realized it had deleted a bunch of files.
Hi,
Currently a backup script copies compressed files to tape using cpio command (on AIX 5.2). Recently we've had a compressed file which has gone over 2 GB in size resulting in an error while copying this file onto the tape using cpio.
Any suggestions on relevant workarounds would be much... (0 Replies)
Hi,
Currently a backup script copies compressed files to tape using cpio command (on AIX 5.2). Recently we've had a compressed file which has gone over 2 GB in size resulting in an error while copying this file onto the tape using cpio.
Any suggestions on relevant workarounds would be much... (2 Replies)
Hi all,
I want to unpack some files .Files and their sizes are:
1. Linux9i_Disk1.cpio -- 500m
2. Linux9i_Disk2.cpio--- 600m
3.Linux9i_Disk3.cpio---- 250m
I used cpio -idmv Linux9i_Disk1.cpio command to unpack the files. But Its taking more time to unpack the files.What could be the... (2 Replies)
Hi Friends,
I am new to this , I am working on AIX system and my scenario is to retrive the files from remote system and remove the files from the remote system after retreving files. I can able to retrieve the files but Can't remove files in remote system. Please check my code and help me out... (3 Replies)
Hi,
I am new to shell scripting.Please help me on this.I am using solaris 10 OS and shell i am using is
# echo $0
-sh
My requirement is i have source file say makefile.I need to extract files with extensions (.c |.cxx |.h |.hxx |.sc) from the makefile.after doing so i need to check whether... (13 Replies)
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
I need a hint for reading manpage (I did rtfm really) of cpio to do this task as in the headline described. I want to put all files of a certain type, lets say all *.txt files or any other format. Spread in more than hundreds of subdirectories in one directory I would like to select them and just... (3 Replies)
Due to budget constraints I have to reinvent an Enterprise backup system in a SPARC (sun4v) Solaris estate (10 & 11). (yep - reinvent wheel, fun but time consuming. Is this wise?! :confused: )
For each filesystem of interest, to try to capture a 'catalog' at the front of each cpio archive (for... (1 Reply)
Discussion started by: am115998
1 Replies
LEARN ABOUT DEBIAN
0alias
0ALIAS(1)0ALIAS(1)NAME
0alias -- create quick scripts to run 0launch
SYNOPSIS
0alias ALIAS [INTERFACE [MAIN]]
DESCRIPTION
Having to keep typing the full URI for a program each time you want to run it with 0launch is annoying. 0alias will create a little script
in your PATH to do it for you.
Note: the newer "0install add" command provides a more efficient alternative to using aliases.
EXAMPLES
A program can be invoked using 0launch:
0launch http://rox.sourceforge.net/2005/interfaces/Edit
To avoid having to keep entering the URI, create an alias:
0alias rox-edit http://rox.sourceforge.net/2005/interfaces/Edit
To run Edit now:
rox-edit
To select a different version, or check for updates:
0alias rox-edit
If an interface provides more than one program, you can specify which one to use instead of the default. e.g.
0alias svn http://example.com/subversion
0alias svnadmin http://example.com/subversion svnadmin
(this is for older programs that use MAIN; for newer programs you may need to use --command instead)
COMMAND-LINE OPTIONS-c=COMMAND, --command=COMMAND
The generated script will execute COMMAND rather than the default ("run").
-d=DIR, --dir=DIR
Install the script into directory DIR, rather than searching for a suitable directory in $PATH.
-h, --help
Show the built-in help text.
-m, --manpage
Display the manpage for the alias script given as the single argument. The alias can be an absolute pathname, or the name of a
script in $PATH. If the argument isn't an alias script, or if multiple arguments are given, then all arguments are passed to the
system 'man' command. This allows you to alias your man command like this:
alias man='0alias --manpage'
-r, --resolve
Print the interface URI for the given alias script to stdout.
-V, --version
Display version information.
LICENSE
Copyright (C) 2012 Thomas Leonard.
You may redistribute copies of this program under the terms of the GNU Lesser General Public License.
BUGS
Please report bugs to the developer mailing list:
http://0install.net/support.html
AUTHOR
The Zero Install Injector was created by Thomas Leonard.
SEE ALSO 0install(1), 0launch(1), 0desktop(1)
The Zero Install web-site:
http://0install.net
Thomas Leonard 2012 0ALIAS(1)