178 reputation
6
bio website sites.google.com/site/jpninan
location
age
visits member for 2 years, 3 months
seen yesterday

I am a Physics student. Doing Research in Astronomy and Astrophysics. Interested in Python,GNU Ideology and Physics


1d
comment rsync a list of directories with absolute path in text file
Thanks. So if my list of directories is not very huge, I could use the --relative flag as shown below. rsync -av --relative $(cat DirectotiesToCopy.txt) /media/MyDestination/
2d
comment rsync a list of directories with absolute path in text file
In cases where the list of directories are not very large, i guess the following option is more easier rsync -av $(cat DirectotiesToCopy.txt) /media/MyDestination/
2d
comment rsync a list of directories with absolute path in text file
Thanks for the detailed explanation and script to create the rules file. I understand the issue now. I still feel it would have been nice for rsync to have an option like --dirs-from=DirectoriesToCopy.txt as a short cut to all the complicated filters.
2d
comment rsync a list of directories with absolute path in text file
Thank you that worked. I am a little surprised that one has to define such careful sequence of filters for simply copying a list of directories using rsync. For example, if my list of directories were not under one common directory /data/ but was instead spread around many locations, the filters to define becomes quite complicated.
2d
comment rsync a list of directories with absolute path in text file
I would like to keep my full path like /media/MyDestination/data/Dir2/ . I added the --exclude to prevent other directories and files in / from getting copied.
2d
comment rsync a list of directories with absolute path in text file
I want to transfer all the files inside those directories as well. There are many files in that directory, so I would like to avoid creating another text file with all the filenames.
Apr
7
comment how to edit and color bash's tab completion list
Since it looks like I cannot do what i want in bash. I am trying to do a different thing instead. I have added an update which appends the next unique keyword separated by : to the list to print.
Sep
9
comment Saving bash history from multiple Konsole not working correctly
No. I want to avoid the second requirement in Oli's list. I don't want my different terminal's history to get mixed up. Until I start a new terminal. This is what naturally happens when i properly shutdown my machine. But sometimes proper shutdown is not possible and unless i save the history instantaneously, all will be lost in a sudden power off.