tar.zip error during save Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionBash script for automatic tar backup of chosen files and directoriesIntro to shell scripts with basic application: how do I set my computer to make an archive of a particular folder every day?Rsync deletes files in old directory?Script doesn't wait for subprocesses from a loopEmail file only after it contains 20 linesparallel processing reading from a file in a loopHow to automatically .tar a directory once it's moved to a foldercan we save mysql error to a file?Scheduled folder backuphow to find the real path of folder with regular expression

Crossing US/Canada Border for less than 24 hours

Irreducible of finite Krull dimension implies quasi-compact?

Closed form of recurrent arithmetic series summation

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Is grep documentation wrong?

How do I find out the mythology and history of my Fortress?

What is the longest distance a player character can jump in one leap?

How to react to hostile behavior from a senior developer?

Fundamental Solution of the Pell Equation

Why wasn't DOSKEY integrated with COMMAND.COM?

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

When was Kai Tak permanently closed to cargo service?

How do I stop a creek from eroding my steep embankment?

What does "lightly crushed" mean for cardamon pods?

How to answer "Have you ever been terminated?"

How come Sam didn't become Lord of Horn Hill?

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Using audio cues to encourage good posture

Dating a Former Employee

Why aren't air breathing engines used as small first stages

What causes the direction of lightning flashes?

Can melee weapons be used to deliver Contact Poisons?

Circuit to "zoom in" on mV fluctuations of a DC signal?

How to find all the available tools in mac terminal?



tar.zip error during save



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionBash script for automatic tar backup of chosen files and directoriesIntro to shell scripts with basic application: how do I set my computer to make an archive of a particular folder every day?Rsync deletes files in old directory?Script doesn't wait for subprocesses from a loopEmail file only after it contains 20 linesparallel processing reading from a file in a loopHow to automatically .tar a directory once it's moved to a foldercan we save mysql error to a file?Scheduled folder backuphow to find the real path of folder with regular expression



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I made a save script, to save some directories in my /home. To do that I loop through the directories in /home, and launch a save for each of them.



These directories contain jar files, and some .txt. Properties and other directories. The first time I launch the script it worked great. I modified it, but yesterday when I try some feature it goes wrong and I can not find why.



I have this error when I use the tar -cjf command to create .tar.zip archive.




tar: home/myFolder : impossible stat: no file or folder of this type




backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup
list_dossier=`ls ../home`

for server in $list_dossier
do

tar -cjf $dirbackup/$server.tar.zip home/$server

done


EDIT
I'm trying to keep this shape of save : a folder with name the date, and in it, X archves contain my X folders of my /home



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup

for server in /home/*
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server

done

exit









share|improve this question



















  • 1





    Is that the actual script you are using? There's a syntax error in the for statement. There ought to be a ; (or a newline) before do. Also, you are much better off iterating over /home/*/, as in for serverpath in /home/*/; do server=$(basename "$serverpath"); tar ... "$serverpath"; done or something like that.

    – Kusalananda
    Apr 7 at 21:43











  • You may also have problems with your ls ../home results if the files listed have whitespace in their names, or newline characters etc.. consider feeding your for loop (or a while loop) a list of null separated results instead.

    – Jeff H.
    Apr 8 at 0:19












  • The do in my code was one line below, I have edit as my code is ^^ Ok for the /home/*/ and yes you right @JeffH.I have a space after the server name !

    – BoBsmil3Y
    Apr 8 at 8:09












  • I think home should be /home.

    – ctrl-alt-delor
    Apr 13 at 18:27











  • Any particular reason why tar's output file has a *.zip extension? I ask because *.zip files are not the same as bzip files.

    – TSJNachos117
    Apr 13 at 22:39


















1















I made a save script, to save some directories in my /home. To do that I loop through the directories in /home, and launch a save for each of them.



These directories contain jar files, and some .txt. Properties and other directories. The first time I launch the script it worked great. I modified it, but yesterday when I try some feature it goes wrong and I can not find why.



I have this error when I use the tar -cjf command to create .tar.zip archive.




tar: home/myFolder : impossible stat: no file or folder of this type




backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup
list_dossier=`ls ../home`

for server in $list_dossier
do

tar -cjf $dirbackup/$server.tar.zip home/$server

done


EDIT
I'm trying to keep this shape of save : a folder with name the date, and in it, X archves contain my X folders of my /home



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup

for server in /home/*
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server

done

exit









share|improve this question



















  • 1





    Is that the actual script you are using? There's a syntax error in the for statement. There ought to be a ; (or a newline) before do. Also, you are much better off iterating over /home/*/, as in for serverpath in /home/*/; do server=$(basename "$serverpath"); tar ... "$serverpath"; done or something like that.

    – Kusalananda
    Apr 7 at 21:43











  • You may also have problems with your ls ../home results if the files listed have whitespace in their names, or newline characters etc.. consider feeding your for loop (or a while loop) a list of null separated results instead.

    – Jeff H.
    Apr 8 at 0:19












  • The do in my code was one line below, I have edit as my code is ^^ Ok for the /home/*/ and yes you right @JeffH.I have a space after the server name !

    – BoBsmil3Y
    Apr 8 at 8:09












  • I think home should be /home.

    – ctrl-alt-delor
    Apr 13 at 18:27











  • Any particular reason why tar's output file has a *.zip extension? I ask because *.zip files are not the same as bzip files.

    – TSJNachos117
    Apr 13 at 22:39














1












1








1








I made a save script, to save some directories in my /home. To do that I loop through the directories in /home, and launch a save for each of them.



These directories contain jar files, and some .txt. Properties and other directories. The first time I launch the script it worked great. I modified it, but yesterday when I try some feature it goes wrong and I can not find why.



I have this error when I use the tar -cjf command to create .tar.zip archive.




tar: home/myFolder : impossible stat: no file or folder of this type




backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup
list_dossier=`ls ../home`

for server in $list_dossier
do

tar -cjf $dirbackup/$server.tar.zip home/$server

done


EDIT
I'm trying to keep this shape of save : a folder with name the date, and in it, X archves contain my X folders of my /home



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup

for server in /home/*
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server

done

exit









share|improve this question
















I made a save script, to save some directories in my /home. To do that I loop through the directories in /home, and launch a save for each of them.



These directories contain jar files, and some .txt. Properties and other directories. The first time I launch the script it worked great. I modified it, but yesterday when I try some feature it goes wrong and I can not find why.



I have this error when I use the tar -cjf command to create .tar.zip archive.




tar: home/myFolder : impossible stat: no file or folder of this type




backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup
list_dossier=`ls ../home`

for server in $list_dossier
do

tar -cjf $dirbackup/$server.tar.zip home/$server

done


EDIT
I'm trying to keep this shape of save : a folder with name the date, and in it, X archves contain my X folders of my /home



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup

for server in /home/*
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server

done

exit






shell-script






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 at 18:22









ctrl-alt-delor

12.5k52662




12.5k52662










asked Apr 7 at 21:28









BoBsmil3YBoBsmil3Y

86




86







  • 1





    Is that the actual script you are using? There's a syntax error in the for statement. There ought to be a ; (or a newline) before do. Also, you are much better off iterating over /home/*/, as in for serverpath in /home/*/; do server=$(basename "$serverpath"); tar ... "$serverpath"; done or something like that.

    – Kusalananda
    Apr 7 at 21:43











  • You may also have problems with your ls ../home results if the files listed have whitespace in their names, or newline characters etc.. consider feeding your for loop (or a while loop) a list of null separated results instead.

    – Jeff H.
    Apr 8 at 0:19












  • The do in my code was one line below, I have edit as my code is ^^ Ok for the /home/*/ and yes you right @JeffH.I have a space after the server name !

    – BoBsmil3Y
    Apr 8 at 8:09












  • I think home should be /home.

    – ctrl-alt-delor
    Apr 13 at 18:27











  • Any particular reason why tar's output file has a *.zip extension? I ask because *.zip files are not the same as bzip files.

    – TSJNachos117
    Apr 13 at 22:39













  • 1





    Is that the actual script you are using? There's a syntax error in the for statement. There ought to be a ; (or a newline) before do. Also, you are much better off iterating over /home/*/, as in for serverpath in /home/*/; do server=$(basename "$serverpath"); tar ... "$serverpath"; done or something like that.

    – Kusalananda
    Apr 7 at 21:43











  • You may also have problems with your ls ../home results if the files listed have whitespace in their names, or newline characters etc.. consider feeding your for loop (or a while loop) a list of null separated results instead.

    – Jeff H.
    Apr 8 at 0:19












  • The do in my code was one line below, I have edit as my code is ^^ Ok for the /home/*/ and yes you right @JeffH.I have a space after the server name !

    – BoBsmil3Y
    Apr 8 at 8:09












  • I think home should be /home.

    – ctrl-alt-delor
    Apr 13 at 18:27











  • Any particular reason why tar's output file has a *.zip extension? I ask because *.zip files are not the same as bzip files.

    – TSJNachos117
    Apr 13 at 22:39








1




1





Is that the actual script you are using? There's a syntax error in the for statement. There ought to be a ; (or a newline) before do. Also, you are much better off iterating over /home/*/, as in for serverpath in /home/*/; do server=$(basename "$serverpath"); tar ... "$serverpath"; done or something like that.

– Kusalananda
Apr 7 at 21:43





Is that the actual script you are using? There's a syntax error in the for statement. There ought to be a ; (or a newline) before do. Also, you are much better off iterating over /home/*/, as in for serverpath in /home/*/; do server=$(basename "$serverpath"); tar ... "$serverpath"; done or something like that.

– Kusalananda
Apr 7 at 21:43













You may also have problems with your ls ../home results if the files listed have whitespace in their names, or newline characters etc.. consider feeding your for loop (or a while loop) a list of null separated results instead.

– Jeff H.
Apr 8 at 0:19






You may also have problems with your ls ../home results if the files listed have whitespace in their names, or newline characters etc.. consider feeding your for loop (or a while loop) a list of null separated results instead.

– Jeff H.
Apr 8 at 0:19














The do in my code was one line below, I have edit as my code is ^^ Ok for the /home/*/ and yes you right @JeffH.I have a space after the server name !

– BoBsmil3Y
Apr 8 at 8:09






The do in my code was one line below, I have edit as my code is ^^ Ok for the /home/*/ and yes you right @JeffH.I have a space after the server name !

– BoBsmil3Y
Apr 8 at 8:09














I think home should be /home.

– ctrl-alt-delor
Apr 13 at 18:27





I think home should be /home.

– ctrl-alt-delor
Apr 13 at 18:27













Any particular reason why tar's output file has a *.zip extension? I ask because *.zip files are not the same as bzip files.

– TSJNachos117
Apr 13 at 22:39






Any particular reason why tar's output file has a *.zip extension? I ask because *.zip files are not the same as bzip files.

– TSJNachos117
Apr 13 at 22:39











2 Answers
2






active

oldest

votes


















0














This line will cause problems:



tar -cjf $dirbackup$server.tar.zip $server


That's because $server would be something like /home/myserver and so this command would expand to



tar -cjf /save/2019-04-13/home/myserver.tar.zip /home/myserver


Note the extra /home in the path to the tarfile.



Instead we can change directory before hand..



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup || exit
cd /home || exit

for server in *
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server
done





share|improve this answer























  • Thanks for your help finally got it ! Can you just explain me the || exit ? Because exit is how to quit a script no ?

    – BoBsmil3Y
    Apr 13 at 18:55











  • It just makes the script exit if the previous command fails, so if the mkdir fails then the script aborts rather than continuing.

    – Stephen Harris
    Apr 13 at 19:53











  • Oh ok ! Thanks it's will help me to know that :D

    – BoBsmil3Y
    Apr 13 at 20:48


















0














backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup

find ../home -type d -not -name "." -a -not -name ".." -exec tar -cjf $dirbackup/''.tar.bz2 '' ;





share|improve this answer























  • There is no need to quote . Also note that this will be a pathname, not a filename. Using it as part of a filename would do unexpected things.

    – Kusalananda
    Apr 8 at 8:17











  • Yes it's working like that :) But I want to separate each folder save ^^ I have tried your code, and it's seems to "ignore" some files. I have the same error as the beginning but only for few folder ... :/

    – BoBsmil3Y
    Apr 8 at 8:22











  • I have edit the question to update my code

    – BoBsmil3Y
    Apr 8 at 10:14











  • Up ? please

    – BoBsmil3Y
    Apr 10 at 20:50











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511118%2ftar-zip-error-during-save%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














This line will cause problems:



tar -cjf $dirbackup$server.tar.zip $server


That's because $server would be something like /home/myserver and so this command would expand to



tar -cjf /save/2019-04-13/home/myserver.tar.zip /home/myserver


Note the extra /home in the path to the tarfile.



Instead we can change directory before hand..



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup || exit
cd /home || exit

for server in *
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server
done





share|improve this answer























  • Thanks for your help finally got it ! Can you just explain me the || exit ? Because exit is how to quit a script no ?

    – BoBsmil3Y
    Apr 13 at 18:55











  • It just makes the script exit if the previous command fails, so if the mkdir fails then the script aborts rather than continuing.

    – Stephen Harris
    Apr 13 at 19:53











  • Oh ok ! Thanks it's will help me to know that :D

    – BoBsmil3Y
    Apr 13 at 20:48















0














This line will cause problems:



tar -cjf $dirbackup$server.tar.zip $server


That's because $server would be something like /home/myserver and so this command would expand to



tar -cjf /save/2019-04-13/home/myserver.tar.zip /home/myserver


Note the extra /home in the path to the tarfile.



Instead we can change directory before hand..



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup || exit
cd /home || exit

for server in *
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server
done





share|improve this answer























  • Thanks for your help finally got it ! Can you just explain me the || exit ? Because exit is how to quit a script no ?

    – BoBsmil3Y
    Apr 13 at 18:55











  • It just makes the script exit if the previous command fails, so if the mkdir fails then the script aborts rather than continuing.

    – Stephen Harris
    Apr 13 at 19:53











  • Oh ok ! Thanks it's will help me to know that :D

    – BoBsmil3Y
    Apr 13 at 20:48













0












0








0







This line will cause problems:



tar -cjf $dirbackup$server.tar.zip $server


That's because $server would be something like /home/myserver and so this command would expand to



tar -cjf /save/2019-04-13/home/myserver.tar.zip /home/myserver


Note the extra /home in the path to the tarfile.



Instead we can change directory before hand..



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup || exit
cd /home || exit

for server in *
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server
done





share|improve this answer













This line will cause problems:



tar -cjf $dirbackup$server.tar.zip $server


That's because $server would be something like /home/myserver and so this command would expand to



tar -cjf /save/2019-04-13/home/myserver.tar.zip /home/myserver


Note the extra /home in the path to the tarfile.



Instead we can change directory before hand..



#!/bin/bash
backupdate=$(date +%Y-%m-%d)
dirbackup=/save/$backupdate
mkdir $dirbackup || exit
cd /home || exit

for server in *
do
echo $server"test"
tar -cjf $dirbackup$server.tar.zip $server
done






share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 13 at 17:55









Stephen HarrisStephen Harris

27.5k35383




27.5k35383












  • Thanks for your help finally got it ! Can you just explain me the || exit ? Because exit is how to quit a script no ?

    – BoBsmil3Y
    Apr 13 at 18:55











  • It just makes the script exit if the previous command fails, so if the mkdir fails then the script aborts rather than continuing.

    – Stephen Harris
    Apr 13 at 19:53











  • Oh ok ! Thanks it's will help me to know that :D

    – BoBsmil3Y
    Apr 13 at 20:48

















  • Thanks for your help finally got it ! Can you just explain me the || exit ? Because exit is how to quit a script no ?

    – BoBsmil3Y
    Apr 13 at 18:55











  • It just makes the script exit if the previous command fails, so if the mkdir fails then the script aborts rather than continuing.

    – Stephen Harris
    Apr 13 at 19:53











  • Oh ok ! Thanks it's will help me to know that :D

    – BoBsmil3Y
    Apr 13 at 20:48
















Thanks for your help finally got it ! Can you just explain me the || exit ? Because exit is how to quit a script no ?

– BoBsmil3Y
Apr 13 at 18:55





Thanks for your help finally got it ! Can you just explain me the || exit ? Because exit is how to quit a script no ?

– BoBsmil3Y
Apr 13 at 18:55













It just makes the script exit if the previous command fails, so if the mkdir fails then the script aborts rather than continuing.

– Stephen Harris
Apr 13 at 19:53





It just makes the script exit if the previous command fails, so if the mkdir fails then the script aborts rather than continuing.

– Stephen Harris
Apr 13 at 19:53













Oh ok ! Thanks it's will help me to know that :D

– BoBsmil3Y
Apr 13 at 20:48





Oh ok ! Thanks it's will help me to know that :D

– BoBsmil3Y
Apr 13 at 20:48













0














backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup

find ../home -type d -not -name "." -a -not -name ".." -exec tar -cjf $dirbackup/''.tar.bz2 '' ;





share|improve this answer























  • There is no need to quote . Also note that this will be a pathname, not a filename. Using it as part of a filename would do unexpected things.

    – Kusalananda
    Apr 8 at 8:17











  • Yes it's working like that :) But I want to separate each folder save ^^ I have tried your code, and it's seems to "ignore" some files. I have the same error as the beginning but only for few folder ... :/

    – BoBsmil3Y
    Apr 8 at 8:22











  • I have edit the question to update my code

    – BoBsmil3Y
    Apr 8 at 10:14











  • Up ? please

    – BoBsmil3Y
    Apr 10 at 20:50















0














backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup

find ../home -type d -not -name "." -a -not -name ".." -exec tar -cjf $dirbackup/''.tar.bz2 '' ;





share|improve this answer























  • There is no need to quote . Also note that this will be a pathname, not a filename. Using it as part of a filename would do unexpected things.

    – Kusalananda
    Apr 8 at 8:17











  • Yes it's working like that :) But I want to separate each folder save ^^ I have tried your code, and it's seems to "ignore" some files. I have the same error as the beginning but only for few folder ... :/

    – BoBsmil3Y
    Apr 8 at 8:22











  • I have edit the question to update my code

    – BoBsmil3Y
    Apr 8 at 10:14











  • Up ? please

    – BoBsmil3Y
    Apr 10 at 20:50













0












0








0







backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup

find ../home -type d -not -name "." -a -not -name ".." -exec tar -cjf $dirbackup/''.tar.bz2 '' ;





share|improve this answer













backupdate=$(date +%Y-%m-%d) 
dirbackup=/save/$backupdate
mkdir $dirbackup

find ../home -type d -not -name "." -a -not -name ".." -exec tar -cjf $dirbackup/''.tar.bz2 '' ;






share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 8 at 0:46









RoadowlRoadowl

112




112












  • There is no need to quote . Also note that this will be a pathname, not a filename. Using it as part of a filename would do unexpected things.

    – Kusalananda
    Apr 8 at 8:17











  • Yes it's working like that :) But I want to separate each folder save ^^ I have tried your code, and it's seems to "ignore" some files. I have the same error as the beginning but only for few folder ... :/

    – BoBsmil3Y
    Apr 8 at 8:22











  • I have edit the question to update my code

    – BoBsmil3Y
    Apr 8 at 10:14











  • Up ? please

    – BoBsmil3Y
    Apr 10 at 20:50

















  • There is no need to quote . Also note that this will be a pathname, not a filename. Using it as part of a filename would do unexpected things.

    – Kusalananda
    Apr 8 at 8:17











  • Yes it's working like that :) But I want to separate each folder save ^^ I have tried your code, and it's seems to "ignore" some files. I have the same error as the beginning but only for few folder ... :/

    – BoBsmil3Y
    Apr 8 at 8:22











  • I have edit the question to update my code

    – BoBsmil3Y
    Apr 8 at 10:14











  • Up ? please

    – BoBsmil3Y
    Apr 10 at 20:50
















There is no need to quote . Also note that this will be a pathname, not a filename. Using it as part of a filename would do unexpected things.

– Kusalananda
Apr 8 at 8:17





There is no need to quote . Also note that this will be a pathname, not a filename. Using it as part of a filename would do unexpected things.

– Kusalananda
Apr 8 at 8:17













Yes it's working like that :) But I want to separate each folder save ^^ I have tried your code, and it's seems to "ignore" some files. I have the same error as the beginning but only for few folder ... :/

– BoBsmil3Y
Apr 8 at 8:22





Yes it's working like that :) But I want to separate each folder save ^^ I have tried your code, and it's seems to "ignore" some files. I have the same error as the beginning but only for few folder ... :/

– BoBsmil3Y
Apr 8 at 8:22













I have edit the question to update my code

– BoBsmil3Y
Apr 8 at 10:14





I have edit the question to update my code

– BoBsmil3Y
Apr 8 at 10:14













Up ? please

– BoBsmil3Y
Apr 10 at 20:50





Up ? please

– BoBsmil3Y
Apr 10 at 20:50

















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511118%2ftar-zip-error-during-save%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.