I thought the flags I mentioned in the question are the same, but I get the following message with the former, but nothing with the latter:
$ find .
Code:
flamingo:~ joliver$ sudo find / -nogroup
find: /dev/fd/4: No such file or directory
find: /home: No such file or directory
find: /Library: No such file or directory
find: /net: No such file or directory
find: /Network: No such file or directory
find: /private: No such file or directory
find: /sbin: No such file or directory
find: /System: No such file or directory
find: /Users: No such
Hello,
I try to decompress a zip file as follows:
Code:
unzip File.zip
i have this error:
Code:
Archive: File.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.
I am trying to cleanup a directory with around 4000 files, and using the below command to delete all .gz files older than 60 days, I am having the same issue of arguments being too long. is there a way i can use the same command to do what I intend to do.
find /opt/et/logs/Archive/*.log.*.gz -type f -mtime +60 -exec rm {} \;
The archive manager does not archive files or games and gives the following error:
Archive: /media/BA/setup.exe
[/media/BA/setup.exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.
I have a large directory of music files that is often changing as files and directories come and go.
I've been looking for a code snippet to place in a .sh that removes a directory named after a file.
What I mean by this is I would like to move to specify a directory and then search it for a list of files of type ".XXX" and then remove any subdirectories (with contents) with the same name.
I have the following bash script:
tar -zxvf $1
cd $1
It should extract the archive file and enter the directory that was created. Typically, package archive file creates directory with the same name, as the file, without extension, for example, mpc-1.0.1.tar.gz creates mpc-1.0.1 directory. How can I change the line cd $1 to get directory name?
Hi all
While unzipping files in linux i am getting error as:
Archive: mdxcopy.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.