This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ $ sudo mkdir /media/card | |
~ $ dmesg | tail | |
[ 3757.984103] sd 12:0:0:1: [sdd] 7987200 512-byte logical blocks: (4.08 GB/3.80 GiB) | |
[ 3757.985347] sd 12:0:0:1: [sdd] No Caching mode page present | |
[ 3757.985350] sd 12:0:0:1: [sdd] Assuming drive cache: write through | |
[ 3757.987211] sd 12:0:0:1: [sdd] No Caching mode page present | |
[ 3757.987213] sd 12:0:0:1: [sdd] Assuming drive cache: write through | |
[ 3757.988466] sdd: sdd1 | |
~ $ sudo mount -t vfat /dev/sdd1 /media/card |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -avh --delete --stats --progress /media/original/ /media/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Don't forget to use the correct user:group and permissions. | |
find . -print0 | xargs --null chown server:server | |
chmod for directories: | |
find . -type d -print0 | xargs --null chmod -R 755 | |
chmod for files: | |
find . -type f -print0 | xargs --null chmod -R 755 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting "Groovyc: 'return' is not allowed in object initializer"? | |
You forgot a pair of parenthesis. | |
The following code | |
public List getImportedClasses | |
{ | |
return imports | |
} | |
is not valid in Groovy or Java. Add the pair of parenthesis: |
OlderNewer