Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Programming Tutorial

Start Learning to Code

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Breaking News

Nextjs: running code after complete fetch

why does 400 status code result always entercatch block execution with axios?

Saving the state of the button onClick

TypeScript: Specify that value must be in Array using spread operator

Show separate number with comma in django tempalte

Why does my website keep showing old index.html, style.css, app.js…?

Using Python Flask to change the colour of an icon when it detects a words like scam, pending and verified

x clear icon appears only when the input has value – react

Login button redirects to two pages. For first time loginers, it redirects to agreement page, and for rest, it redirects straight to home?

WebComponent setter not triggered if defer is used

Tag: zip

Linux

How to create zip without subfolders in Python?

admin March 16, 2021

I’ve got some files in /tmp/1234/ and I’m creating a zip using Python: def create_local_zip_file(zipjob_number, folder_path): zip_file_path = os.path.join(‘/tmp/’, f'{zipjob_number}.zip’) with …

compressionlinuxpythonzip
Linux

Unzip wrongly: All files are scattered in the current directory

admin May 17, 2020

On CentOS, I wanted to unzip files in A.zip into ./A/. However, I didn’t notice that there were hundreds of files in A.zip and I just use unzip A.zip. So now these extra files are all in the current …

directorylinuxunzipzip
Linux

Exclude flag in zip not excluding directory as expected

admin January 7, 2020

I’m trying to zip every file in my current directory to deploy.zip using the command: zip -r deploy.zip -x “**/node_modules/**” This command doesn’t work and still zips all the node_modules and it’s …

linuxzip
Windows

Why can tgz be opened on Linux box but not on Windows?

admin April 2, 2019

I’ve received a Tar/GZipped file that was created on an embedded Linux device. The file can be extracted perfectly fine on a Linux desktop if I run something like tar zxf myFile.tgz. The file …

linuxtarwindowswindows-7zip
Windows

Batch archive multiple folders with 7-zip to other directory

admin August 29, 2018

In reference to this wonderful work: @echo off if [%1]==[] goto :eof :loop 7z a -tzip “%~1.zip” “%~1” shift if not [%1]==[] goto loop I can’t for the heck of it figure out where to put the output …

7-zipbatch-filecommand-linewindowszip
Windows

7-Zip: Automate script with excluding folder but include its content(set folder as root itself) in .cbr structure

admin August 1, 2018

When i use this script for /d %%X in (*) do “c:Programs7-Zip7z.exe” a “%%X.cbr” “%%X” in directory like this mainfolder comicfolder1 001.png 002.png comicfolder2 001.png 002….

7-zipbatchbatch-filewindowszip
Windows

How can I unzip a multipart ZIP file on Windows made on a Mac

admin February 17, 2018

I created a big zip file in three parts on my Mac: stuff.z01 stuff.z02 stuff.z03 I used the terminal zip command for this. How can I unzip these on my Windows machine?

macwindowszip
Linux

How to zip all txt files recursively in linux using zip?

admin September 15, 2017

I want to zip all .txt files in using zip command in linux recursively. For this, I’m using: zip -r /home/folder/zipName /home/folder2/subfolder1/*.txt and it is giving me the below error: zip …

linuxshellzip
Linux

How to create a very specific zip file structure using Java

admin August 25, 2016

I am developing software to integrate into a legacy system, where I send zip files to an FTP server and the legacy system scans periodically dumping the files into a folder, either “Completed” or “…

javalinuxzip
Windows

Create Send-To-Compressed(zipped)-folder event shortcut on Windows10

admin May 17, 2016

I have a really simple question to which I haven’t been able to find the right simple answer to. I’m working a lot with zipped (compressed) folders. I want to improve my workflow. After selecting all …

compressionkeyboard-shortcutswindowszip

Posts navigation

1 2 … 4 Next
Privacy Policy