Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Create a *zip Files in workflow

holmes74338504
Level 4
Level 4

Hello,

 

Have you ever had to create a zip file in ACC that would contain multiple *.csv/*.txt files. 
 
A client (who's currently getting migrated from SFMC to Adobe)  runs Exports weekly and creates seven (7) *.csv files. These files are then zipped into one file (ex: Client_Email_Send_2020_03_26.zip)
 
I found some information online, and have already reached out to Adobe Support to see if I have have the necessary utilities installed on the server. 
 
 
I've also tried to use some information I got from Adobe Experience League and get an 'Can not open file.." error. 
 
I've never done this in ACC before - especially since in ACS - you can choose to output the file as a *zip. Not sure how I need to proceed. 
 
The *csv file output to a FTP (which I can access through FileZilla) that was set up in Adobe.
 
1 Accepted Solution
Milan_Vucetic
Correct answer by
Community Advisor
Community Advisor

Hi @holmes74338504 

 

you may use the following code in the Script node (chose Shell script):

 

# zip all .csv files
cd /some/directory/which/contain/files/
tar -cvf  PreferedNameOfZipFile  /some/directory/which/contain/files/*.csv

 

Regards,

Milan

View solution in original post

1 Reply
Milan_Vucetic
Correct answer by
Community Advisor
Community Advisor

Hi @holmes74338504 

 

you may use the following code in the Script node (chose Shell script):

 

# zip all .csv files
cd /some/directory/which/contain/files/
tar -cvf  PreferedNameOfZipFile  /some/directory/which/contain/files/*.csv

 

Regards,

Milan

View solution in original post