02-10-2014
Quote:
Originally Posted by
bakunin
As an aside: exclamation marks are not gregarious animals. It is perfectly acceptable to end a sentence with a single full stop.
About your problem: all these files start with a dot (".bashrc"), which means they are "hidden" in UNIX (=not displayed by "ls" unless specifically requested by the switch "-a"). You haven't provided the command you use to pack the files into the archive, i am left to speculate about the reasons but my suspicion is you haven't noticed they are there at all and somehow included them without even recognizing their presence.
My suggestion is to explicitly name the file(s) you want to include in the archive instead of using wildcards, directory names or something such. This should take care of the problem.
I hope this helps.
bakunin
Can U Please Post The Command For This.
1. Rename avici.mp3 into two parts part1.rar and part 2.rar
2.As part 1 extracts part 2 also extracts automatically and avici.mp3 as the extracted data.
3. Excluding those additional bash files.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
i want know how to compress and uncompress file using unix,
compress uncompress,zip,unzip,rar,unrar,how its work and more about this.:confused: (1 Reply)
Discussion started by: ismael xavier
1 Replies
2. UNIX for Dummies Questions & Answers
Hi !
I have a abc.rar file.
I want to extract this file.. pls help.
OS Details :
SunOS papillon 5.10 Generic_127111-11 sun4us sparc FJSV,GPUZC-M (1 Reply)
Discussion started by: dashok.83
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
How to unzip a .rar file in unix.
I tried unrar command but it doesnt work.
Any help will be appreciated
Thanks (10 Replies)
Discussion started by: irudayaraj
10 Replies
4. UNIX for Dummies Questions & Answers
Hi all, need help here in moving a .zip file into a suse system and want it to be in .rar format. How can i do this? (1 Reply)
Discussion started by: mena
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have this file in .rar format and need to use it on a suse linux system. I have transfered the file into the system and tried to unpack it using unrar command but i got this
l# unrar e Alarm.rar
UNRAR 3.51 freeware Copyright (c) 1993-2005 Alexander Roshal
??? - the file header... (5 Replies)
Discussion started by: mena
5 Replies
6. Shell Programming and Scripting
I have number in file which contains date and serial number:
2013101000.
The last two digits are serial number (00). So maximum of serial number is 100.
After reaching 100 it becomes 00 with incrementing 10 which is day with max 31.
after reaching 31 it becomes 00 and increments 10... (31 Replies)
Discussion started by: Natalie
31 Replies
7. Shell Programming and Scripting
Hi all:
I have a 5-column tab-separated file.
The only thing that I want to do with it is to split it.
However, I want to split it with a 80/20 proportion -- randomized, if possible.
I know that something like :
awk '{print $0 ""> "file" NR}' RS='' input-file
will work, but it only... (6 Replies)
Discussion started by: owwow14
6 Replies
8. UNIX for Dummies Questions & Answers
Hi, I have a file like this:
aaa 123
aaa 223
aaa 225
bbb 332
bbb 423
bbb 6755
bbb 324
ccc 112
ccc 234
ccc 897
Which I need to split into several files, something like
split -l 3
but the way that the lines with the same names would only go into one file: (7 Replies)
Discussion started by: coppuca
7 Replies
9. Shell Programming and Scripting
Hi Guys,
I have file A.txt
1
2
3
4
5
6
7
8
9
10
11
Want Output :-
1 2 3 (3 Replies)
Discussion started by: pareshkp
3 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have different files and i need to split the files in that folder split in to 8 parts with equal number of lines....!
any fastest way of doing this in awk.
for an example i have a file called "BillingDetails_BaseFile.csv" with total line count 65536 and i need to split in to 8 parts... (1 Reply)
Discussion started by: Raghuram717
1 Replies
LEARN ABOUT PHP
rar_broken_is
RAR_BROKEN_IS(3) 1 RAR_BROKEN_IS(3)
RarArchive::isBroken - Test whether an archive is broken (incomplete)
Object oriented style (method):
SYNOPSIS
public bool RarArchive::isBroken (void )
DESCRIPTION
Procedural style:
bool rar_broken_is (RarArchive $rarfile)
This function determines whether an archive is incomplete, i.e., if a volume is missing or a volume is truncated.
PARAMETERS
o $rarfile
- A RarArchive object, opened with rar_open(3).
RETURN VALUES
Returns TRUE if the archive is broken, FALSE otherwise. This function may also return FALSE if the passed file has already been closed.
The only way to tell the two cases apart is to enable exceptions with RarException::setUsingExceptions; however, this should be unnecessary
as a program should not operate on closed files.
EXAMPLES
Example #1
Object oriented style
<?php
function retnull() { return null; }
$file = dirname(__FILE__) . "/multi_broken.part1.rar";
/* Third argument is used to omit notice */
$arch = RarArchive::open($file, null, 'retnull');
var_dump($arch->isBroken());
?>
The above example will output something similar to:
bool(true)
Example #2
Procedural style
<?php
function retnull() { return null; }
$file = dirname(__FILE__) . "/multi_broken.part1.rar";
/* Third argument is used to omit notice */
$arch = rar_open($file, null, 'retnull');
var_dump(rar_broken_is($arch));
?>
SEE ALSO
RarArchive::setAllowBroken.
PHP Documentation Group RAR_BROKEN_IS(3)