hey all!
i'm looking how to render verbose python scripts.
what i'm looking for would be an equivalent to a "bash -xf" in bash script headers..
Any help? (2 Replies)
Hi all ,
In order to zip the file ...
first we need to use TAR and then GZIP on the TAR file .....
Is there any other method for zipping the files directly as in windows ( winzip )
Regards,
Dhananjay (3 Replies)
We need to use sftp to replace the ftp on all our application scripts.
The command itself works, however,the output from the verbose is not giving us a success response with a transfer count. Our processes require that we interrogate the response to ensure the data transfer was successful.
... (2 Replies)
Hi,
I need to find out whether a file is compressed or not and based on that i need to compress that file and move it to archive folder.
say for e.g:
If file is compressed then
just move to archive folder
else
compress and move
end if
i have implemented a... (2 Replies)
This is about to drive me crazy. What I want to do is simple:
output ALL the verbose information from curl to a file
I have read the manual, tried several options and searched this forum but no salvation...
I'm using
curl -k -Q "command" --user user:passwd --ftp-pasv --ftp-ssl -v... (1 Reply)
Hi,
I'm new to scripting. I need to find all the 10 files in the source directory and then archieve them to archive directory.
The source files which im getting does not have any extensions just binary files.
I need to find them by the file names and archive it. Directory also contains other... (1 Reply)
Hi,
I am trying to turn verbose on for sftp but i get message to look lftp options.
SFTP_LOG=`lftp -u $P_USERID,$P_PSWD sftp://$P_HOSTNAME <<EOF
cd $P_DEST_DIR
mput $P_FILE_PREFIX
bye
EOF`
The above one works fine but i don't see the debugging details\log details.
I want... (7 Replies)
Hi All,
Am trying to write a script which does the archiving of *.txt files if it's one week old from the current date.
/TK/Project_ATT/Results/
File format :
-rw-r----- 1 root root 20562 Sep 11 10:24 UQ-CI01_FF_20130905_10H24M.txt
-rw-r----- 1 root root 20562 Sep... (2 Replies)
Hi,
I have sometimes a problem when i want to copy files from a nas, it's the nas which have a problem when it is very requested by a lot of users, the command cp turn and don't stop (the file size does not increase) and it's lock.
Is it possible to verbose this command ?
I try with the flag... (1 Reply)
Discussion started by: protocomm
1 Replies
LEARN ABOUT FREEBSD
archive_write_add_filter_lzip
ARCHIVE_WRITE_FILTER(3) BSD Library Functions Manual ARCHIVE_WRITE_FILTER(3)NAME
archive_write_add_filter_bzip2, archive_write_add_filter_compress, archive_write_add_filter_gzip, archive_write_add_filter_lzip,
archive_write_add_filter_lzma, archive_write_add_filter_none, archive_write_add_filter_program, archive_write_add_filter_xz
LIBRARY
Streaming Archive Library (libarchive, -larchive)
SYNOPSIS
#include <archive.h>
int
archive_write_add_filter_bzip2(struct archive *);
int
archive_write_add_filter_compress(struct archive *);
int
archive_write_add_filter_gzip(struct archive *);
int
archive_write_add_filter_lzip(struct archive *);
int
archive_write_add_filter_lzma(struct archive *);
int
archive_write_add_filter_none(struct archive *);
int
archive_write_add_filter_program(struct archive *, const char * cmd);
int
archive_write_add_filter_xz(struct archive *);
DESCRIPTION
archive_write_add_filter_bzip2(), archive_write_add_filter_compress(), archive_write_add_filter_gzip(), archive_write_add_filter_lzip(),
archive_write_add_filter_lzma(), archive_write_add_filter_xz(),
The resulting archive will be compressed as specified. Note that the compressed output is always properly blocked.
archive_write_add_filter_none()
This is never necessary. It is provided only for backwards compatibility.
archive_write_add_filter_program()
The archive will be fed into the specified compression program. The output of that program is blocked and written to the client
write callbacks.
RETURN VALUES
These functions return ARCHIVE_OK on success, or ARCHIVE_FATAL.
ERRORS
Detailed error codes and textual descriptions are available from the archive_errno() and archive_error_string() functions.
SEE ALSO tar(1), libarchive(3), archive_write(3), archive_write_format(3), archive_write_set_options(3), cpio(5), mtree(5), tar(5)BSD February 2, 2012 BSD