Is this possible? Let me know If I need specify further on what I am trying to do- I just want to spare you the boring details of my personal file management.
Thanks in advance-
Brian- (2 Replies)
hi all,
here is the description to my problem.
input parameters: $date1 & $date2
based on the range i need to select the archived files from the archived directory and moved them in to working directory.
can u please help me in writing the code to select the multiple files based on the... (3 Replies)
Hi Expert,
Need your scripting and finding data so that it help me to find the culprit of this memory usage error.
Data provided here is a sample.
Process Snapshot directory: /var/spool/processes-snapshot
webdev9o9% pwd
/var/spool/processes-snapshot
webdev9o9% ls -lrct
-rw-r--r-- ... (3 Replies)
hi all,
here is the description to my problem.
input parameter: $date1
based on the date i need to select three files starting with audit.log* based on its modified date, a date before, a date after(if its exists). We need to compare the input date to modified date of the file. And then... (3 Replies)
Hi All,
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Hi All,
Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder.
using the find command . Could you please assist me how to put the automation using the shell script .
... (11 Replies)
Discussion started by: venkat918
11 Replies
LEARN ABOUT CENTOS
zip_fopen_index_encrypted
ZIP_FOPEN_ENCRYPTED(3) Library Functions Manual ZIP_FOPEN_ENCRYPTED(3)NAME
zip_fopen_encrypted , - .Nm zip_fopen_index_encrypted open encrypted file in zip archive for reading
LIBRARY
libzip (-lzip)
SYNOPSIS
#include <zip.h>
struct zip_file * zip_fopen_encrypted(struct zip *archive, const char *fname, int flags, const char *password);
struct zip_file * zip_fopen_index_encrypted(struct zip *archive, zip_uint64_t index, int flags, const char *password);
DESCRIPTION
The zip_fopen_encrypted function opens the encrypted file name fname in archive using the password given in the password argument. The
flags argument are the same as for zip_fopen(3).
The zip_fopen_index_encrypted function opens the file at position index, see zip_fopen_index(3). These functions are called automatically
by zip_fopen(3); you only need to call them if you want to specify a non-default password (see zip_set_default_password(3) ).
RETURN VALUES
Upon successful completion, a
struct zip_file pointer is returned. Otherwise, NULL is returned and the error code in archive is set to indicate the error.
ERRORS
[ZIP_ER_NOPASSWD] No password was provided.
The function zip_fopen_encrypted may also fail and set for any of the errors specified for the routine zip_fopen(3).
The function zip_fopen_index_encrypted may also fail and set for any of the errors specified for the routine zip_fopen_index(3).
SEE ALSO libzip(3), zip_fclose(3), zip_fopen(3), zip_fread(3), zip_get_num_entries(3), zip_name_locate(3)AUTHORS
Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
NiH February 14, 2011 ZIP_FOPEN_ENCRYPTED(3)